Merge external provider identities on backend

0

Hello,

We have many users that authenticated with Facebook, Google or User Pool.
Some users got an expired session after a while and forgot which method they used previously and end up re-creating an account with another provider which may have the same email address.

I want to run a backend script which will merge the identities of my users having the same emails.

However, it looks like it's impossible and this can only be done with developer authenticated identities. So from what I read I can't merge a FB and Google identities on my own even as the IdentityPool owner.

Am I missing something? Is this something that could be done?
I can't initiate the merge from the client side as the session from previous provider is already lost.

I have around 20% of identities that are "duplicates" pointing to the same user ... my client wants this merged/cleaned.

What can I do?

Thank you
nicolas

Edited by: koxprod on Apr 28, 2019 4:07 PM

koxprod
已提問 5 年前檢視次數 229 次
3 個答案
0

Anyone from AWS ?

koxprod
已回答 5 年前
0

So there is no way to merge identities on the backend ?
It has to be initiate by the frontend.

AWS do you have an idea or some solutions to my issue?

Anyone ?

koxprod
已回答 5 年前
0

Only doable on the backend when using userpool.
Not doable if using direct Federated Identity provider.

koxprod
已回答 5 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南