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 个月前135 查看次数
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.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则