Compare commits
2
Commits
1.80.0
..
9977cf27b9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9977cf27b9 | ||
|
|
cf7eed0603 |
@@ -41,6 +41,16 @@ public static class Api
|
||||
options.Scope.Add("openid");
|
||||
options.Scope.Add("profile");
|
||||
options.Scope.Add("email");
|
||||
|
||||
options.Events = new OpenIdConnectEvents
|
||||
{
|
||||
OnRedirectToIdentityProviderForSignOut = context =>
|
||||
{
|
||||
context.ProtocolMessage.PostLogoutRedirectUri = context.Properties.RedirectUri;
|
||||
|
||||
return Task.CompletedTask;
|
||||
},
|
||||
};
|
||||
});
|
||||
|
||||
return services;
|
||||
|
||||
Reference in New Issue
Block a user