skip to content
Alvin Lucillo

Auth0 login journey

/ 1 min read

Starting from time this.auth.loginWithRedirect() is called, there are several calls visible in the network tab:

  1. https://YOUR_DOMAIN/authorize?client_id=… - Auth0 receives authorization request, including redirect_uri
  2. https://YOUR_DOMAIN/u/login?… - Previous step redirects the user to this step to log in on auth0 page
  3. http://localhost:4200/?code=… - This is the redirect_uri speficied in provideAuth0 and receives a temporary code used for the next step
  4. https://YOUR_DOMAIN/oauth/token - Auth0 Angular SDK gets the token using the temporary code from the previous step