Skip to content

Commit

Permalink
remove console log
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <timo@animo.id>
  • Loading branch information
TimoGlastra committed Apr 11, 2024
1 parent c774452 commit a00346b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/authorization-response/AuthorizationResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ export class AuthorizationResponse {

const firstNonce = Array.from(allNonces)[0];
if (allNonces.size !== 1 || typeof firstNonce !== 'string') {
console.log(allNonces, firstNonce, merged.nonce, verifiedIdToken.payload.nonce, oid4vp.nonce);
throw new Error('both id token and VPs in vp token if present must have a nonce, and all nonces must be the same');
}
if (verifyOpts.nonce && firstNonce !== verifyOpts.nonce) {
Expand Down

0 comments on commit a00346b

Please sign in to comment.