Add OAuth2 support
This commit is contained in:
@ -115,7 +115,8 @@ namespace Oqtane
|
||||
options.DefaultChallengeScheme = Constants.AuthenticationScheme;
|
||||
})
|
||||
.AddCookie(Constants.AuthenticationScheme)
|
||||
.AddOpenIdConnect();
|
||||
.AddOpenIdConnect("oidc", options => { })
|
||||
.AddOAuth("oauth2", options => { });
|
||||
|
||||
services.ConfigureOqtaneCookieOptions();
|
||||
|
||||
|
Reference in New Issue
Block a user