Skip to content

Commit

Permalink
add native dpop client
Browse files Browse the repository at this point in the history
  • Loading branch information
leastprivilege committed Sep 25, 2023
1 parent badb62d commit b8fd873
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,28 @@ public class Config
RefreshTokenUsage = TokenUsage.OneTimeOnly,
RefreshTokenExpiration = TokenExpiration.Sliding
},

new Client
{
ClientId = "native.dpop",
ClientName = "Native client (Code with PKCE + DPop)",

RedirectUris = { "https://notused" },
PostLogoutRedirectUris = { "https://notused" },

RequireClientSecret = false,

AllowedGrantTypes = GrantTypes.Code,
AllowedScopes = AllScopes,

AllowOfflineAccess = true,
RefreshTokenUsage = TokenUsage.ReUse,
RefreshTokenExpiration = TokenExpiration.Sliding,

RequireDPoP = true,
DPoPValidationMode = DPoPTokenExpirationValidationMode.Nonce
},

new Client
{
ClientId = "interactive.public.short",
Expand Down

0 comments on commit b8fd873

Please sign in to comment.