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)

Collapse
glendabaker profile image
GlendaBaker

Good hacks share with us! briser un couple rapidement

🌚 Browsing with dark mode makes you a better developer by a factor of exactly 40.

It's a scientific fact.