Skip to content

Commit

Permalink
chore: added isFirstParty flag to sendAuthorizationResponse on op ses…
Browse files Browse the repository at this point in the history
…sion
  • Loading branch information
Brummos committed Jan 9, 2025
1 parent 6166dcd commit 5a567f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/siopv2-oid4vp-op-auth/src/session/OpSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ export class OpSession {
const responseOpts = {
verification,
issuer,
...(args.isFirstParty && { isFirstParty: args.isFirstParty }), // TODO update to oid4vp
...(args.verifiablePresentations && {
presentationExchange: {
verifiablePresentations,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ export interface IOpsSendSiopAuthorizationResponseArgs {
presentationSubmission?: PresentationSubmission
verifiablePresentations?: W3CVerifiablePresentation[]
hasher?: Hasher
isFirstParty?: boolean
}

export enum events {
Expand Down

0 comments on commit 5a567f1

Please sign in to comment.