nyolt
June 12, 2020, 12:49pm
1
The 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:
Hi Folks,
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.
1 Like
Hi @nyolt ,
I think this issue is being addressed currently in a github issue directly in the sample repo.
https://github.com/auth0-samples/auth0-angular-samples/issues/188
If this doesn’t cover the issue you are describing please file a new issue in the repo.
Thanks,
Dan
nyolt
June 15, 2020, 7:35am
4
Ok, thank you very much, I was not aware of that issue.
I now added my own solution to that discussion on GitHub.
@nyolt thanks! We appreciate the contribution. Hopefully we can resolve it there.
system
Closed
June 30, 2020, 5:06pm
6
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.