Cognito - error_description username attribute mapping

自作多情 提交于 2021-01-26 21:54:58

问题


I've configured a User Pool in Amazon Cognito to be able to sign-in/sign-up users and I've setup facebook as identity provider.

On my hosted ui (https://xxx.auth.us-east-1.amazoncognito.com/login?client_id=2yyy&redirect_uri=zzzz.com.br&response_type=code), I could successfully click on "continue with facebook" but after I got redirect to my return_uri the following error as query parameter was shown:

https://zzzz.com.br/?error_description=username+attribute+mapping+required&error=invalid_request#=

Under the "Attribute mapping" configuration I already have facebook attribute "id" mapped to User pool attribute "Username"... After some hours struggling with this I decided to ask you guys for help!

Thanks in advance.

来源:https://stackoverflow.com/questions/50430759/cognito-error-description-username-attribute-mapping

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