Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
shihjay2 committed Jan 7, 2025
1 parent 3d1f627 commit e175d61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const verifyDidJWT = async(jwt: string, resolver: Resolvable, options: JWTVerify

const resolver = getResolver('ethr');

export const rp = RP.builder({ requestVersion: SupportedVersion.SIOPv2_ID1 })
export const rp = RP.builder({ requestVersion: SupportedVersion.SIOPv2_D12_OID4VP_D20 })
.withClientId(identifier.did)
.withScope('openid')
.withResponseType('id_token')
Expand All @@ -114,7 +114,7 @@ export const rp = RP.builder({ requestVersion: SupportedVersion.SIOPv2_ID1 })
.withVerifyJwtCallback(verifyJwtCallback(resolver))
.withRequestBy(PassBy.VALUE)
.withCreateJwtCallback(createJwtCallback())
.withSupportedVersions(SupportedVersion.SIOPv2_ID1)
.withSupportedVersions(SupportedVersion.SIOPv2_D12_OID4VP_D20)
.withClientMetadata({
client_id: identifier.did,
idTokenSigningAlgValuesSupported: [SigningAlgo.EDDSA, SigningAlgo.ES256],
Expand Down

0 comments on commit e175d61

Please sign in to comment.