From b8fd873472dc12ad459a2870740c189328c3173d Mon Sep 17 00:00:00 2001 From: Dominick Baier Date: Mon, 25 Sep 2023 13:07:34 +0200 Subject: [PATCH] add native dpop client --- src/Config.cs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/Config.cs b/src/Config.cs index 80fb982..12bef31 100644 --- a/src/Config.cs +++ b/src/Config.cs @@ -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",