DEV Community

Diogo Ribeiro
Diogo Ribeiro

Posted on

React Link Social Accounts to the same user, is it possible?

Hi, anyone knows if it's possible yo connect multiple social accounts ( YouTube,twitter, Facebook...) To the same user account when they have different emails?
Example: I have a user that signs up with email and password, after that he can connect his social accounts ( not for login, but to post stuff on them via my app ) but the catch is, the accounts may have different emails, and as i see not all auth providers support linking multiple accounts woth different emails, and the ones that do, do that for login only.
So my question is , how do i do it? Should i save the users accounts on a database after they login, so when he logins on the app the next time, i will fetch all his accounts from my account and display them?!

Top comments (1)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.