[英]How to create user in user pool using social identity provider?
I want to login with social identity provider (Google) and after successful authentication , I need to pass Google Auth Token to Cognito User pool to create new user in it.我想使用社交身份提供商 (Google) 登录,并且在成功验证后,我需要将 Google 身份验证令牌传递给 Cognito 用户池以在其中创建新用户。 Is it possible?
是否可以? If yes, How can we achieve it?
如果是,我们如何实现它?
I think below are steps我认为以下是步骤
Ref, I went through参考,我通过了
https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-identity-federation.html https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-identity-federation.html
https://docs.amazonaws.cn/en_us/cognito/latest/developerguide/cognito-user-pools-social-idp.html https://docs.amazonaws.cn/en_us/cognito/latest/developerguide/cognito-user-pools-social-idp.html
https://docs.aws.amazon.com/cognito/latest/developerguide/google.html https://docs.aws.amazon.com/cognito/latest/developerguide/google.html
https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-integrating-user-pools-with-identity-pools.html https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-integrating-user-pools-with-identity-pools.html
https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-scenarios.html https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-scenarios.html
https://aws-amplify.github.io/docs/android/authentication https://aws-amplify.github.io/docs/android/authentication
https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-social-idp.html https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-social-idp.html
https://docs.aws.amazon.com/cognito/latest/developerguide/tutorial-integrating-user-pools-android.html https://docs.aws.amazon.com/cognito/latest/developerguide/tutorial-integrating-user-pools-android.html
Had a lot of trouble figuring this out too.弄清楚这一点也遇到了很多麻烦。
Check this link, it might be helpful.检查此链接,它可能会有所帮助。
https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-social-idp.html#cognito-user-pools-social-idp-step-1 https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-social-idp.html#cognito-user-pools-social-idp-step-1
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.