Skip to content

Commit ee633f3

Browse files
committed
fix(DPoP): mark defaulted dpop_jkt parameter as trusted
1 parent da3198b commit ee633f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/actions/authorization/process_request_object.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ export default async function processRequestObject(PARAM_LIST, rejectDupesMiddle
285285

286286
if (pushedRequestObject && ctx.oidc.entities.PushedAuthorizationRequest.dpopJkt) {
287287
params.dpop_jkt = ctx.oidc.entities.PushedAuthorizationRequest.dpopJkt;
288+
ctx.oidc.trusted?.push('dpop_jkt');
288289
}
289290

290291
return next();

0 commit comments

Comments
 (0)