来自fb / Google的cognito用户池中的属性映射。 [英] Attributes mapping in cognito user pool from fb/Google.

查看:96
本文介绍了来自fb / Google的cognito用户池中的属性映射。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

aws cognito中有一项新功能,允许用户通过用户池中的外部联合身份验证提供程序登录。
我按照给定aws Doc的步骤进行操作。
1)选择身份提供者
2)映射
的属性但是,当我注册时,fb / Google帐户ID并未在用户池中获得地图。
有人可以给我适当的代码来执行此操作吗?我的意思是我应该如何在认知用户池中以编程方式映射fb / Google用户登录。

There's new feature in aws cognito to allow user to sign in through external federation identity providers in user pool. I followed the steps given the aws Doc. 1) select identity providers 2) attributes mapping But when I sign up, fb/ Google account ID don't get map in user pool. Can someone give me a proper code to do this. I mean how should I map fb/ Google user sign in programmatically in cognito user pool.

推荐答案

目前,只有Facebook ID, Google订阅和具有Amazon user_id属性的登录名可以映射到 Amazon Cognito 用户池用户名属性。

Currently, only the Facebook id, Google sub, and Login with Amazon user_id attributes can be mapped to the Amazon Cognito user pools username attribute.

您的属性映射是什么样的?

What does your attribute mapping look like?

这篇关于来自fb / Google的cognito用户池中的属性映射。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆