diff --git a/packages/siop-oid4vp/lib/op/OP.ts b/packages/siop-oid4vp/lib/op/OP.ts index 57b3d623..b73a12ac 100644 --- a/packages/siop-oid4vp/lib/op/OP.ts +++ b/packages/siop-oid4vp/lib/op/OP.ts @@ -177,6 +177,7 @@ export class OP { createJarmResponse?: (opts: { authorizationResponsePayload: AuthorizationResponsePayload requestObjectPayload: RequestObjectPayload + clientMetadata: JwksMetadataParams }) => Promise<{ response: string }>, @@ -231,6 +232,7 @@ export class OP { const { response } = await createJarmResponse({ requestObjectPayload, authorizationResponsePayload: payload, + clientMetadata: authorizationResponse.response.authorizationRequest.options.clientMetadata }) return jarmAuthResponseSend({