diff --git a/IdentityServer/v7/DPoP/ClientCredentials/Program.cs b/IdentityServer/v7/DPoP/ClientCredentials/Program.cs index ba92b9a2..43bac508 100644 --- a/IdentityServer/v7/DPoP/ClientCredentials/Program.cs +++ b/IdentityServer/v7/DPoP/ClientCredentials/Program.cs @@ -38,7 +38,6 @@ public static IHostBuilder CreateHostBuilder(string[] args) client.TokenEndpoint = "https://localhost:5001/connect/token"; client.ClientId = "dpop"; - //client.ClientId = "dpop.nonce"; client.ClientSecret = "905e4892-7610-44cb-a122-6209b38c882f"; client.Scope = "scope1"; diff --git a/IdentityServer/v7/DPoP/IdentityServerHost/Clients.cs b/IdentityServer/v7/DPoP/IdentityServerHost/Clients.cs index 1836dc58..26e3c49d 100644 --- a/IdentityServer/v7/DPoP/IdentityServerHost/Clients.cs +++ b/IdentityServer/v7/DPoP/IdentityServerHost/Clients.cs @@ -25,7 +25,9 @@ public static class Clients PostLogoutRedirectUris = { "https://localhost:5010/signout-callback-oidc" }, AllowOfflineAccess = true, - AllowedScopes = { "openid", "profile", "scope1" } + AllowedScopes = { "openid", "profile", "scope1" }, + + RequireDPoP = true, }, }; }