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 個月前檢視次數 150 次
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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南