Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
fix: claims are not required
Browse files Browse the repository at this point in the history
Signed-off-by: Berend Sliedrecht <[email protected]>
  • Loading branch information
berendsliedrecht committed Jun 22, 2023
1 parent 62c95b3 commit 46aca0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/helpers/SIOPSpecVersion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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']
);
}
Expand Down

0 comments on commit 46aca0e

Please sign in to comment.