Skip to content

Commit

Permalink
fix(DPoP): compare htu scheme and hostname case independent
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Aug 30, 2023
1 parent 2176909 commit b72d668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/helpers/validate_dpop.js
Expand Up @@ -71,7 +71,7 @@ export default async (ctx, accessToken) => {
}

{
const expected = ctx.oidc.urlFor(ctx.oidc.route);
const expected = new URL(ctx.oidc.urlFor(ctx.oidc.route)).href;
let actual;
try {
actual = new URL(payload.htu);
Expand Down

0 comments on commit b72d668

Please sign in to comment.