简体   繁体   English

Amazon Cognito-重置导入用户的密码后无法登录

[英]Amazon Cognito - Unable to login after reset password for imported user

I'm new to using Amazon Cognito on iPhone app and have been testing it using the example provided. 我是在iPhone应用程序上使用Amazon Cognito的新手,并且已经使用提供的示例对其进行了测试。 I'm testing the import user function and having problem with it. 我正在测试导入用户功能并遇到问题。 The import was successful and reset password was required. 导入成功,需要重设密码。 As stated in documentation, I have to run through ForgotPassword function to change to new password. 如文档中所述,我必须通过ForgotPassword函数运行以更改为新密码。 I've done this and status in my console is changed to "Confirmed". 我已完成此操作,控制台中的状态已更改为“已确认”。 But when I try to login using the new password, I'm getting "Incorrect username or password". 但是,当我尝试使用新密码登录时,得到的是“用户名或密码错误”。 I'm sure my username and password is correct. 我确定我的用户名和密码正确。

Anyone have this problem before? 有人以前有这个问题吗? How can I fix this? 我怎样才能解决这个问题?

It is unexpected. 真是出乎意料。 Once the user is confirmed, the user should be able to login with the new password. 确认用户后,该用户应能够使用新密码登录。 If the problem still exists, I suggest you to check the username field. 如果问题仍然存在,建议您检查用户名字段。 Do you use phone number or email address as the username for signing in? 您是否使用电话号码或电子邮件地址作为登录用户名?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM