Closed
Description
I'm trying to do a SignOut with a redirect uri
specified in the AuthenticationProperties
. It redirects to the OIDC SignedOutCallbackPath I configured but doesn't make it to the RedirectURI.
[HttpGet("Logout")]
public async Task Logout()
{
var prop = new AuthenticationProperties()
{
RedirectUri = "http://google.com"
};
await HttpContext.SignOutAsync(OpenIdConnectDefaults.AuthenticationScheme, prop);
}
Setup and info:
- The app has Cookie and OpenId Connect authentication setup
- Connects to Oracle IDCS.
- Both HttpContext.SignOutAsync() and SignOut() have the same result.
A login via ChallengeRequest with a RedirectUri on the other hand works.
How does the Redirect URI actually work inside - ex. does it get sent to the Identity Provider and back? Any clues as to why this doesn't work?