-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SignOut loop in v2.5.0 #2095
Comments
May-be, this is related? #1558 |
I'm having the same issue with the Azure B2C sample which was recently upgraded to v2.5.0. Did you find an alternative solution other than regressing the version? |
So far I've only seen that using version 1.26.0 solves the issue. Interestingly though, if you specify a custom |
A workaround for now that seems to work: creating your own AccountController with SignIn and SignOut methods instead of using MicrosoftIdentity.AccountController SignIn and SignOut methods. Carlos Ortega's answer here provides an example. You can then set a custom URI for a signout page to be redirected to without loops. Also make sure that there is no value set in appsettings.json for the |
We've applied a workaround in 2.9.0 which should address the issue. The root cause is a breaking change in ASP.NET Core 6 with the Razor pages. |
Microsoft.Identity.Web Library
Microsoft.Identity.Web.UI
Microsoft.Identity.Web version
2.5.0
Web app
Sign-in users
Web API
Protected web APIs (validating tokens)
Token cache serialization
In-memory caches
Description
Calling the SignOut endpoint in Web.UI controller preveously worked just fine.
With upgrade to 2.5.0 my app get's stuck in a logout-redirect-loop.
There are no overrides in the config to the signout-, etc. properties.
Reproduction steps
Use
Sign out
Ends up in loop.
Error message
No response
Id Web logs
No response
Relevant code snippets
Regression
1.26.0
Expected behavior
User get's signed out. No loop.
The text was updated successfully, but these errors were encountered: