Skip to content

Commit

Permalink
Merge pull request #189 from DuendeSoftware/joe/require-dpop
Browse files Browse the repository at this point in the history
Turn on the require dpop flag in the dpop sample
  • Loading branch information
brockallen committed Apr 19, 2024
2 parents ab2c14b + e61a2a4 commit f6c5856
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion IdentityServer/v7/DPoP/ClientCredentials/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
4 changes: 3 additions & 1 deletion IdentityServer/v7/DPoP/IdentityServerHost/Clients.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
};
}
Expand Down

0 comments on commit f6c5856

Please sign in to comment.