Social Login with Custom Database?

So, I have used a custom database (MongoDB) for login using Auth0.
I followed this tutorial: Tutorial Link
So, this only taught me how to implement login but not social login.
I have been struggling to find out that what to do to send the data of users using social login like Google or Facebook to my MongoDB database stored on atlas.


(Kindly reply as soon as possible since I have a hackathon and I am using auth0)

Hi @saragarg1234

Social Login is implemented as a different connection type, it is not a DB connection.

Can you describe your use case? You don’t want to duplicate data for social users in your MongoDB database, as that creates a “two sources of truth” problem and you WILL run into sync issues at some point.


1 Like

Sorry my problem is fixed :slight_smile:

1 Like