Auth0 is a SAAS identity and access management service
Every time a user is logged in you get access both:
- to the access token
- and the ID token.
The user's profile information is extracted from the ID token. Typically, the token is used to call your backend application and the profile information is used to display their name and profile picture.
Auth0 will show a login page
You can use Auth0's Custom Domains in order to persist the same domain across the login page and the app. (ie login.YOUR_DOMAIN.com instead of YOUR_DOMAIN.auth0.com)
Whenever your app triggers an authentication request, the user will be redirected to the login page in order to authenticate. The /authorize endpoint trigger the Universal Login.
Navigate to the login page:
https://YOUR_DOMAIN/authorize? response_type=code|token& client_id=YOUR_CLIENT_ID& connection=CONNECTION& redirect_uri=https://YOUR_APP/callback& state=STATE
- connection is the datastore : database or social login
- client_id is the client identifier
The settings available here are:
- Logo (recommended size: 150 x 150 pixels)
- Primary Color
- Background Color
You can deploy your custom login page from an external repository like GitHub, Bitbucket, GitLab,