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
demandé il y a 5 ans229 vues
3 réponses
0

Anyone from AWS ?

koxprod
répondu il y a 5 ans
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
répondu il y a 5 ans
0

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

koxprod
répondu il y a 5 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions