From ed7463349666019e88f850a406581f56293990c9 Mon Sep 17 00:00:00 2001 From: sanderPostma Date: Thu, 14 Nov 2024 16:07:14 +0100 Subject: [PATCH] chore: OIDF schema updates --- .../AuthorizationRequestPayloadVD12OID4VPD20.schema.ts | 6 +++++- packages/siop-oid4vp/lib/types/SIOP.types.ts | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/siop-oid4vp/lib/schemas/AuthorizationRequestPayloadVD12OID4VPD20.schema.ts b/packages/siop-oid4vp/lib/schemas/AuthorizationRequestPayloadVD12OID4VPD20.schema.ts index 42961fb7..75d02271 100644 --- a/packages/siop-oid4vp/lib/schemas/AuthorizationRequestPayloadVD12OID4VPD20.schema.ts +++ b/packages/siop-oid4vp/lib/schemas/AuthorizationRequestPayloadVD12OID4VPD20.schema.ts @@ -1093,6 +1093,10 @@ export const AuthorizationRequestPayloadVD12OID4VPD20SchemaObj = { "type": "string", "const": "x509_san_uri" }, + { + "type": "string", + "const": "entity_id" + }, { "type": "string", "const": "verifier_attestation" @@ -1109,4 +1113,4 @@ export const AuthorizationRequestPayloadVD12OID4VPD20SchemaObj = { ] } } -}; \ No newline at end of file +}; diff --git a/packages/siop-oid4vp/lib/types/SIOP.types.ts b/packages/siop-oid4vp/lib/types/SIOP.types.ts index a104d0b7..8d862e38 100644 --- a/packages/siop-oid4vp/lib/types/SIOP.types.ts +++ b/packages/siop-oid4vp/lib/types/SIOP.types.ts @@ -101,7 +101,7 @@ export interface AuthorizationRequestPayloadVD12OID4VPD20 } export type ClientIdSchemeOID4VPD18 = 'pre-registered' | 'redirect_uri' | 'entity_id' | 'did' -export type ClientIdSchemeOID4VPD20 = ClientIdSchemeOID4VPD18 | 'x509_san_dns' | 'x509_san_uri' | 'verifier_attestation' +export type ClientIdSchemeOID4VPD20 = ClientIdSchemeOID4VPD18 | 'x509_san_dns' | 'x509_san_uri' | 'entity_id' | 'verifier_attestation' export type ClientIdScheme = ClientIdSchemeOID4VPD18 | ClientIdSchemeOID4VPD20 // https://openid.bitbucket.io/connect/openid-connect-self-issued-v2-1_0.html#section-10