Angular Auth0 Quickstart has a race condition that caused a lot of headaches and time wasted for us.
Hello, posting here after migrating from Auth0.js to Auth0-spa.js. Everything seems to work fine except there seems to be some kind of race condition when calling handleAuthCallback and having an AuthGuard as suggested in the migration docs and Angular setup docs.
I have lazy-loaded routes/modules. With the App Module splitting auth and home. My redirect_uri is /home/dashboard. I have tried calling handleAuthCallback from AppComponent, my Dashboard component (which the user gets redirected to a…
Since then, another post has been opened which links to the solution of the post above:
I’m using Ionic, Angular and Auth0 to make a web app.
I’ve got a problem where my app and auth0 are getting stuck in a redirect loop and I’m not sure why - nor where to start investigating.
I’ve generated starter projects and replaced all the auth0 code I have, with that code - doesn’t fix the problem so I don’t think it’s any interaction between auth0 and angular.
I’ve checked my app config in the auth0 management dashboard and if there is a problem there I haven’t been able to fi…
This second post was even acknowledged by an Auth0 Employee - but since then nothing has changed.
It would be really, really good if you could fix the QuickStart and prevent others from running into the same issue.