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ヶ月前139ビュー
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.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ