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
질문됨 2달 전137회 조회
1개 답변
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.

답변함 2달 전
  • 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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠