Aws Cognito如何合并身份 [英] How does Aws Cognito merge Identities

查看:77
本文介绍了Aws Cognito如何合并身份的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道您可以传递两个提供者令牌来合并它们以使用相同的身份,但是如果用户通过其ipad上的facebook登录,然后通过其手机上的google登录怎么办?这些如何通过AWS联合身份合并?用户最终将拥有两个单独的帐户吗?

I know that you can pass two provider tokens to merge them to use the same identity, but what if the user logs in through facebook on their ipad and then google on their phone? How do these get merged by aws federated identities? Is the user going to end up with 2 separate accounts?

推荐答案

要合并您所描述的帐户,用户必须在某个时候一次传递两个登录令牌.完成后,他们只需在以后的任何登录中传递一个令牌,便会获得相同的身份.

To merge accounts as you described, the user has to pass both login tokens at some point, just once. Once it has been done, they only have to pass a single token on any future login and they will get the same identity.

因此,在您描述的情况下,如果两个令牌都已被传递,则它们将获得相同的身份.如果没有一起通过,那会有两个.

So, in the situation you described, if both tokens had been passed already, they would get the same identity. If they hadn't been passed together, there would be two.

这篇关于Aws Cognito如何合并身份的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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