diff --git a/src/helpers/SIOPSpecVersion.ts b/src/helpers/SIOPSpecVersion.ts index f592d831..6d10c7f2 100644 --- a/src/helpers/SIOPSpecVersion.ts +++ b/src/helpers/SIOPSpecVersion.ts @@ -16,6 +16,7 @@ function isJWTVC1Payload(authorizationRequest: AuthorizationRequestPayload) { authorizationRequest.client_id.toLowerCase().startsWith('did:') && authorizationRequest.redirect_uri && (authorizationRequest.registration_uri || authorizationRequest.registration) && + authorizationRequest.claims && authorizationRequest.claims['vp_token'] ); }