Verifiable Credentials Issuance
This guide describes how to issue OneID® Verifiable Credentials. The protocol that we support is OpenID for Verifiable Credential Issuance.
Issuance Flow Chart
Supported Features
Flow | Authorization Code Flow |
Credential Format Profile | VC signed as a JWT (jwt_vc_json) |
Proof Types | JWT |
Authorization Endpoint
The authorization endpoint is used in the same manner as our base journey, but with some additional parameters.
authorization_details
type is required and is always set to openid_credentials
credential_configuration_id should be the id for the required credential
Authorization Request
Authorization Success
When the authorization process is successful the user will be redirected back to the redirect uri provided on the authorization request along with a code.
Authorization Error
When there is an error in the authorization process the user is redirected back with an error and error_description provided.
Token Endpoint
The code that was returned for the user can now be exchanged for a token on the token endpoint.
Token Response
Credentials Endpoint
The credential endpoint issues verifiable credentials when a valid access token representing user approval is presented.
Credential Request
proof should be set and proof_type should be jwt.
c_nonce returned from the token endpoint should be included in the audience claim in the jwt.
Credential Success
The notification_id should be used to post updates to the notification endpoint.
Credential Error
Possible Errors
invalid_credential_request
unsupported_credential_type
invalid_proof
invalid_encryption_parameters
Notification Endpoint
Notification Request
Notification Success
Notification Error
Credential Issuer Metadata
The Credential Issuer Metadata contains information on the Credential Issuer's technical capabilities, supported Credentials, and (internationalized) display information.
This document lives under /.well-known/openid-credential-issuer
@Copyright OneID Limited 2024