Skip to content

Commit

Permalink
fix: check if oid4vp defined
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra committed Nov 24, 2024
1 parent 9ff62bd commit c654a7b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ export class AuthorizationResponse {
state,
correlationId: verifyOpts.correlationId,
...(this.idToken && { idToken: verifiedIdToken }),
...(oid4vp.presentationExchange && { oid4vpSubmission: oid4vp.presentationExchange }),
...(oid4vp.dcql && { oid4vpSubmissionDcql: oid4vp.dcql }),
...(oid4vp?.presentationExchange && { oid4vpSubmission: oid4vp.presentationExchange }),
...(oid4vp?.dcql && { oid4vpSubmissionDcql: oid4vp.dcql }),
}
}

Expand Down

0 comments on commit c654a7b

Please sign in to comment.