-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedarea-authIncludes: Authn, Authz, OAuth, OIDC, BearerIncludes: Authn, Authz, OAuth, OIDC, Bearer
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?
Metadata
Metadata
Assignees
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedarea-authIncludes: Authn, Authz, OAuth, OIDC, BearerIncludes: Authn, Authz, OAuth, OIDC, Bearer