amazon-archives / aws-cognito-angular-quickstart

An Angular(v5)-based QuickStart single-page app utilizing Amazon Cognito, S3, and DynamoDB (Serverless architecture)
https://cognito.budilov.com
Apache License 2.0
689 stars 304 forks source link

AWS Cognito NEW_PASSWORD_REQUIRED challenge requiring address, but it dosen't seems to accept any form of address types #152

Closed khaledshamat closed 5 years ago

khaledshamat commented 5 years ago

Im trying to implement a spring boot back end for cognito, I managed to create one and perform signing in, after the sign in i got to the new password is required to change the default password, so I have submitted my request but got an exception saying:

Invalid attributes given, address is missing.

I have tried to send the address as string, and json object but the same exception occurred.

I have checked the read and write permissions in my cognito pool and they must be writable!

So any suggestions about this issue?