Redirect loop on invalid code in onLogout() or fetchUser()
See original GitHub issueI had error in my fetchUser() function, so it started to redirect back and forth infinitely.
Redirecting back to OAuth doesn’t solve the problem, if the error isn’t on the OAuth authenticator side.
This isn’t such a big problem, but was confusing for me at first.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Infinite redirect loop, "Invalid authorization request state." #89
I'm trying to get a basic Auth0 app running. I followed the Node example on the Auth0 dashboard but I ran into an...
Read more >Symfony 6.1 infinite redirect loop on login - Stack Overflow
Since IS_AUTHENTICATED_ANONYMOUSLY was deprecated in 5.3 and removed in 6.0, it is no longer recognized as an "unsecured access" role.
Read more >Help! I'm Stuck in a Redirect Loop! - ScottBrady91
The client application validates the identity token and decides whether or not to start its own session; Something goes wrong; The user does...
Read more >Infinite redirects loop on logout with OpenIdConnect/Auth0
We are running with EPiServer 11.3.3 and using IIS. We've based our code upon this docs: https://world.episerver.com/documentation/developer- ...
Read more >How to Fix Error Too Many Redirects Issue in WordPress
Deactivate All WordPress Plugins. The most common cause of the WordPress redirect loops or 'Too many redirects' issue is a plugin conflict. A ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks for the issue report, I didn’t catch that. I’ll put in a fix when I have some time
✅ Done