Hello, I am just exploring Auth0 from a learning perspective. When I log in to Auth0 (https://auth0.com/) using my Gmail credentials how does the authentication happen?
Does Auth0 store all the Gmail user data? Or is there any API exposed by Gmail for this purpose?
Also, the different options on the login page, how can I configure them? Say if I want to add my own custom domain then how can I do it?
The user clicks on the “Log in with X” button (or another social identity provider).
The user’s browser is redirected to the Google, Facebook, etc. login page.
The user logs in with their social provider credentials. This step happens entirely on the providers servers – your application never sees the user’s username or password.
After the user successfully logs in, the provider sends the user back to your application. As part of this process, the provider includes a piece of information that your application can use to verify that the user is who they claim to be.
Auth0 verifies this assertion, creates or updates a user in your Auth0 user database, and then sends an ID Token back to your application. This ID Token contains information (“claims”) about the user, such as their username, email address, and so on.
At this point, the user is authenticated – that is, your application knows who the user is.
Yes, Auth0 will create and store a normalized profile for the user - Their profile will look something like this: