diff --git a/lib/helpers/request.js b/lib/helpers/request.js index ad86809a..d634c6de 100644 --- a/lib/helpers/request.js +++ b/lib/helpers/request.js @@ -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), },