OpenID for Verifiable Credential Issuance (OpenID4VCI)
OpenID for Verifiable Credential Issuance (OpenID4VCI) is the protocol wallets use to request a credential from an issuer. Choreo Identity & Access Management acts as the credential issuer: it authenticates the user through the OAuth 2.1 authorization code flow and issues a signed SD-JWT VC bound to the wallet's key. The credential can later be presented at relying parties without disclosing unnecessary attributes.
Credential configurations are managed resources you create through the Choreo Identity & Access Management Console. The issuer engine reflects them immediately in the public metadata document.
How It Works
Choreo Identity & Access Management uses the authorization code grant as the issuance flow. The wallet acts as an OAuth client; the user signs in through the normal Choreo Identity & Access Management login pages.
- An operator creates a credential configuration in the Choreo Identity & Access Management Console, specifying the credential type (
vct) and which user profile claims to include as selectively disclosable attributes. - Choreo Identity & Access Management advertises the credential configuration in its issuer metadata at
GET /.well-known/openid-credential-issuer. - A relying party (or Choreo Identity & Access Management itself) generates a credential offer: a compact
openid-credential-offer://deep link the user opens in their wallet. - The wallet resolves the offer and redirects the user to the Choreo Identity & Access Management authorization endpoint with the credential configuration handle as the OAuth scope.
- The user authenticates. Choreo Identity & Access Management issues an access token scoped to the credential configuration.
- The wallet requests a fresh
c_noncefromPOST /openid4vci/nonceto bind the credential to its key. - The wallet posts a credential request to
POST /openid4vci/credentialwith the access token and a holder proof JWT signed with its private key. - Choreo Identity & Access Management verifies the access token and holder proof, resolves the user's profile claims, signs an SD-JWT VC bound to the wallet's public key, and returns it.
How Choreo Identity & Access Management Implements It
| Aspect | Behavior |
|---|---|
| Credential format | dc+sd-jwt. Every configured claim is individually selectively disclosable. |
| Holder binding | The wallet's public key is embedded in the SD-JWT VC cnf claim as a JWK. One credential is issued per holder proof JWT. |
| Issuer-initiated offer | GET /openid4vci/offer?credential_configuration_id=<handle> returns the JSON offer and an openid-credential-offer:// deep link. The stored offer resolves at GET /openid4vci/credential-offer/{id} and expires after 5 minutes. |
| Proof type | Holder proofs must use proof_type: "jwt" with typ: openid4vci-proof+jwt. The aud must equal the credential issuer URL; the nonce must match a valid, unexpired c_nonce. |
| Batch issuance | Multiple proofs may be submitted via proofs.jwt. One SD-JWT VC is issued per proof, up to the configured batch_size. When batch_size > 1, batch_credential_issuance is advertised in the metadata. |
| DPoP | When the access token carries cnf.jkt, the credential request must include a matching DPoP proof header (RFC 9449). |
| Claim sourcing | Claims are resolved from the user's profile attributes. Missing attributes are silently omitted from the issued credential. Every configured claim is advertised in the metadata claims array, each with its own path; a claim carries a display entry only when it has a displayName. |
| Signing | Signed with the key set as signing_key_id. The certificate chain is included in the SD-JWT VC x5c header. Omitting signing_key_id disables the issuer engine at startup. |
| Scope enforcement | When enforce_scope is enabled, the access token must carry a scope matching the credential_configuration_id. |
Credential Configurations
A credential configuration defines one credential type the issuer can produce. Its handle becomes the credential_configuration_id in the issuer metadata document and the OAuth scope wallets request.
Manage configurations in Verifiable Credentials → Templates in the Choreo Identity & Access Management Console, or declare them in YAML for file-based deployments (resource_type: credential_configuration).
| Field | Description |
|---|---|
| Handle | Unique identifier for this credential type. Becomes the OAuth scope and credential_configuration_id in issuer metadata. Required. |
| Credential type (VCT) | The vct URI that identifies this credential type to wallets and verifiers. Required. |
| Claims | Each entry maps a user profile attribute name to an optional wallet display name. The attribute value is sourced from the user's profile at issuance. Every entry is advertised in the metadata claims array, and one with a display name also carries a display entry. |
| Display | Wallet presentation display settings: locale (BCP 47 tag, e.g. en-US) and logoUri (a hosted image URL shown as the credential logo in the wallet). |
| Validity | Lifetime of issued credentials in seconds. Overrides the server-level credential_validity_seconds when set. |
Server Settings
On Choreo Identity & Access Management hosted tenants, the issuer engine's server-level settings are managed by the platform and are not configurable. They include the signing key, nonce and proof lifetimes, the default credential validity, batch size, and scope enforcement.
Issuer Metadata
GET /.well-known/openid-credential-issuer returns the credential issuer metadata document built dynamically from active credential configurations.
{
"credential_issuer": "https://auth.example.com",
"credential_endpoint": "https://auth.example.com/openid4vci/credential",
"nonce_endpoint": "https://auth.example.com/openid4vci/nonce",
"authorization_servers": ["https://auth.example.com"],
"credential_configurations_supported": {
"example-pid": {
"format": "dc+sd-jwt",
"scope": "example-pid",
"vct": "urn:example:pid:1",
"cryptographic_binding_methods_supported": ["jwk"],
"credential_signing_alg_values_supported": ["ES256"],
"proof_types_supported": {
"jwt": { "proof_signing_alg_values_supported": ["ES256"] }
},
"display": [{ "name": "Example PID" }],
"claims": [
{ "path": ["given_name"], "display": [{ "name": "First Name" }] },
{ "path": ["birthdate"] }
]
}
}
}
Try It in Choreo Identity & Access Management
Generate a Credential Offer
GET /openid4vci/offer?credential_configuration_id=example-pid
Response includes the offer JSON and a deep link:
{
"credential_offer": {
"credential_issuer": "https://auth.example.com",
"credential_configuration_ids": ["example-pid"],
"grants": { "authorization_code": {} }
},
"credential_offer_uri": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fauth.example.com%2Fopenid4vci%2Fcredential-offer%2Fabc123"
}
Request a c_nonce and Issue a Credential
POST /openid4vci/nonce
{ "c_nonce": "wKI4LTs208I3EgjkuYpvRQ" }
Then issue the credential with the access token (from the authorization code flow) and a holder proof JWT:
POST /openid4vci/credential
Authorization: Bearer <access-token>
Content-Type: application/json
{
"credential_configuration_id": "example-pid",
"proof": {
"proof_type": "jwt",
"jwt": "<holder-proof-jwt>"
}
}
Response:
{
"credentials": [{ "credential": "<sd-jwt-vc>" }]
}
For batch issuance, pass multiple proof JWTs in proofs.jwt: one SD-JWT VC is returned per proof.
Related Guides
- OpenID for Verifiable Presentations, verify a previously issued SD-JWT VC at a relying party
- DPoP, bind access tokens to a wallet key to prevent token theft
- Authorization Code, the underlying grant used in the issuance flow
- JWKS, public keys used by wallets to verify the issued credential signature
Was this page helpful?