How does Aws Cognito merge Identities

僤鯓⒐⒋嵵緔 提交于 2021-01-28 08:04:22

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/45022118/how-does-aws-cognito-merge-identities

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