Skip to content

Commit

Permalink
Adds OIDC as default challenge mode
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalSenn committed Oct 27, 2022
1 parent 462b860 commit efb6ac9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public static IAuthoringServerAuthenticationBuilder AddOpenIdConnect(
private static void ConfigureAuthentication(AuthenticationOptions x)
{
x.DefaultScheme = JwtOrCookieDefault.AuthenticationScheme;
x.DefaultChallengeScheme = JwtOrCookieDefault.AuthenticationScheme;
x.DefaultChallengeScheme = OpenIdConnectDefaults.AuthenticationScheme;
}

private static void ConfigureCookies(CookieAuthenticationOptions x)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ IAuthoringServerAuthenticationBuilder ConfigureAuthentication(

IAuthoringServerAuthenticationBuilder ConfigureBuilder(Action<AuthenticationBuilder> configure);
}

0 comments on commit efb6ac9

Please sign in to comment.