How to solve error "NotAuthorizedException" when trying to change password of user?

0

I am using AWS Cognito in my ionic app, i am able to sign in using my user account but when i try to change the password i get the error "NotAuthorizedException", even though my access token is the same and did not change. ANy idea on what the problem is and how to fix it?

Gio
gefragt vor 2 Monaten135 Aufrufe
1 Antwort
0

I think more context is needed here, But as far as I understand. You have identity to login using your credentials but You are not authorized to change password or might not be able to do Write operations. Please check if you have write permission.

beantwortet vor 2 Monaten
  • Yes i can login using my credentials but cannot change the password by using the changePassword() method provided in the AWS Cognito Docs. Concerning the write permission i think i have the right to write, where can i check, because in the user attributes password is not listed.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen