diff --git a/oidc-controller/api/templates/verified_credentials.html b/oidc-controller/api/templates/verified_credentials.html index 96c552ef..212cc3c1 100644 --- a/oidc-controller/api/templates/verified_credentials.html +++ b/oidc-controller/api/templates/verified_credentials.html @@ -323,7 +323,7 @@
const mobileDevice = ref( getBrowser() === "Android" || getBrowser() === "iOS" ? true : false ); - const claims = ref(JSON.parse('{{claims|tojson}}')); + const claims = ref(JSON.parse('{{claims|tojson}}')['en']); return { mobileDevice, diff --git a/oidc-controller/api/verificationConfigs/models.py b/oidc-controller/api/verificationConfigs/models.py index da8549db..076e9560 100644 --- a/oidc-controller/api/verificationConfigs/models.py +++ b/oidc-controller/api/verificationConfigs/models.py @@ -41,7 +41,7 @@ class VerificationProofRequest(BaseModel): class MetaData(BaseModel): title: str | None = Field(default=None) - claims: list[str] | None = Field(default=None) + claims: dict[str, list[str]] | None = Field(default=None) class VerificationConfigBase(BaseModel):