Is there an existing issue for this?
Describe the bug
I'm using the following API-endpoint to sign out from my SPA:
[HttpGet("[action]")]
public ActionResult Logout()
{
return SignOut(new AuthenticationProperties { RedirectUri = "http://localhost:4200/authentication/login" },
CookieAuthenticationDefaults.AuthenticationScheme,
"MyScheme");
}
I also enabled SaveTokens in the OpenidConnect options.
Here is what happens
Why isn't it redirecting to the RedirectUri I passed in the SignOut method? It seems to be completely ignored. Only solution I found is to use the "OnRedirectToIdentityProviderForSignOut" event to manually set the post_logout_redirect_uri directly to the final RedirectUri.
Expected Behavior
No response
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
10.0.3
Anything else?
No response
Is there an existing issue for this?
Describe the bug
I'm using the following API-endpoint to sign out from my SPA:
I also enabled SaveTokens in the OpenidConnect options.
Here is what happens
Why isn't it redirecting to the RedirectUri I passed in the SignOut method? It seems to be completely ignored. Only solution I found is to use the "OnRedirectToIdentityProviderForSignOut" event to manually set the post_logout_redirect_uri directly to the final RedirectUri.
Expected Behavior
No response
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
10.0.3
Anything else?
No response