How do you authenticate a user in a user pool via Cognito when error messages say userName and password don't match even though they do?

扶醉桌前 提交于 2019-12-04 18:21:40

Your code doesn't show if you are confirming the newly signed up user not. If you are not, that would explain the NotAuthorizedException. This example specifically is what you want to follow.

If you do not want to confirm the users being signed up from you app, you should use a PreSignUp trigger to autoConfirm your users.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!