Cognito 将用户名设为电子邮件谷歌身份验证

时间:2021-02-09 20:24:02

标签: amazon-web-services amazon-cognito

如何将我的 Cognito 用户池用户名设为发送给 Google 身份提供商的电子邮件。

这也很混乱。在属性映射中,它说 google sub 是用户名,但用户名的格式为“Google_randomnumber”

请帮助我在使用 Cognito 用户池进行 google 身份验证时如何分配自己的用户名?

1 个答案:

答案 0 :(得分:1)

我想如果你想要真名,你需要加入名和姓。用户名,您需要添加一个属性,即 Google 用户名。

enter image description here

当您单击用户和组中的用户时,如下所示:

enter image description here