keycloak/keycloak

[OID4VCI] Credential definition type should include VerifiableCredential

Chiusa

#47.046 aperta il 11 mar 2026

 (1 commento) (1 reazione) (0 assegnatari)Java (8346 fork)batch import
area/oid4vchelp wantedkind/bugpriority/normalstatus/auto-bumpteam/core-clients

Metriche repository

Star
 (34.398 stelle)
Metriche merge PR
 (Merge medio 6g 19h) (384 PR mergiate in 30 g)

Descrizione

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

oid4vc

Describe the bug

Credential metadata contains invalid credential_definition

    "oid4vc_natural_person_jwt": {
      "format": "jwt_vc_json",
      "scope": "oid4vc_natural_person_jwt",
      "credential_definition": {
        "type": [
          "oid4vc_natural_person"
        ]
      },
    },

Tool chains may reject the credential when it doe s not include VerifiableCredential

Concerning this specification, the following table lists the objects that MUST have a type specified.

Verifiable credential object VerifiableCredential and, optionally, a more specific verifiable credential type. For example, "type": ["VerifiableCredential", "OpenBadgeCredential"]

Version

latest

Regression

  • The issue is a regression

Expected behavior

Include VerifiableCredential in credential definition types types

Guida contributor