Skip to content

Commit

Permalink
changes in default response type
Browse files Browse the repository at this point in the history
  • Loading branch information
cleftheris committed Jan 9, 2023
1 parent 3536f92 commit 82a8fa0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Indice.Kentico.Oidc/Indice.Kentico.Oidc.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<VersionPrefix>$(KenticoVersion).2.0</VersionPrefix>
<VersionPrefix>$(KenticoVersion).2.1</VersionPrefix>
</PropertyGroup>
<PropertyGroup>
<DefineConstants Condition="$(KenticoVersion) == '9'">Kentico9</DefineConstants>
Expand Down
4 changes: 2 additions & 2 deletions src/Indice.Kentico.Oidc/OAuthConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ public static class OAuthConfiguration
/// <summary>
/// Can be either <strong>code</strong> or <strong>code id_token</strong>. The first identifies code flow and the second is the hybrid flow.
/// </summary>
/// <remarks>Defaults to <strong>code</strong></remarks>
public static string ResponseType => ConfigurationManager.AppSettings["Oidc:ResponseType"] ?? "code";
/// <remarks>Defaults to <strong>code id_token</strong></remarks>
public static string ResponseType => ConfigurationManager.AppSettings["Oidc:ResponseType"]?.Trim() ?? "code id_token";
/// <summary>
/// Username claim type. Defaults to jwt <see cref="JwtClaimTypes.Name"/> ('name'). But should change this via webconfig to 'username' in case of AWS cognito.
/// </summary>
Expand Down

0 comments on commit 82a8fa0

Please sign in to comment.