Skip to content

Commit

Permalink
fix(dpop): htu without querystring
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Mar 4, 2022
1 parent 9cfd910 commit f6fa149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/helpers/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ module.exports = async function request(options, { accessToken, mTLS = false, DP
opts.headers = opts.headers || {};
opts.headers.DPoP = await this.dpopProof(
{
htu: url.href,
htu: `${url.origin}${url.pathname}`,
htm: options.method,
nonce: nonces.get(nonceKey),
},
Expand Down

0 comments on commit f6fa149

Please sign in to comment.