Starting from time this.auth.loginWithRedirect() is called, there are several calls visible in the network tab:
- https://YOUR_DOMAIN/authorize?client_id=… - Auth0 receives authorization request, including redirect_uri
- https://YOUR_DOMAIN/u/login?… - Previous step redirects the user to this step to log in on auth0 page
- http://localhost:4200/?code=… - This is the redirect_uri speficied in
provideAuth0and receives a temporary code used for the next step - https://YOUR_DOMAIN/oauth/token - Auth0 Angular SDK gets the token using the temporary code from the previous step