Preface
A Verifiable Credential (VC) is a key concept in the OID4VCI specification. It refers to a digitally signed collection of data that represents information about an identifiable entity, such as a user. This data may include attributes like a given name, family name, or birthdate. The term “verifiable” signifies that the credential’s integrity can be confirmed, ensuring that the data has not been altered. This is achieved through digital signatures, which allow relying parties to validate the authenticity and source of the credential. Examples of verifiable credentials include digital driving licenses and health insurance cards stored on a mobile device. These credentials enable secure and tamper-proof identity verification in various digital interactions. Authlete supports verifiable credentials, including features like OpenID for Verifiable Credential Issuance (OID4VCI). When enabled, Authlete’s service facilitates the issuance and management of verifiable credentials in compliance with relevant industry standards, ensuring secure and standardized digital identity verification.Configure Verifiable Credentials Settings in Authlete 3.0
Authlete supports several configuration settings for Verifiable Credentials. This tutorial covers how to configure Verifiable Credentials in the Authlete Management Console.Service Settings
Configure the following service settings in the Authlete Management Console to enable Verifiable Credentials.| Tab | Key | Value |
|---|---|---|
| Service Settings > Verifiable Credentials > General | Verifiable Credentials Feature | Enable |
| Service Settings > Verifiable Credentials > Credential Issuer Metadata | Credential Issuer | Issuer Identifier - Mandatory. e.g., https://credential-issuer.example.com |
| Service Settings > Verifiable Credentials > Credential Issuer Metadata | Credential Endpoint | URL. Mandatory. e.g., https://credential-issuer.example.com/api/credential |
| Service Settings > Verifiable Credentials > Credential Issuer Metadata | Supported Credentials | Mandatory. e.g., credential_configurations_supported.json. |
| Service Settings > JWK Set > Verifiable Credentials | JWK Set | Key Set - - Mandatory. e.g., vc-issuer_jwk-set.json |
| Service Settings > Endpoints > Global Settings > General | Supported Grant Types | PRE_AUTHORIZED_CODE (if you support the pre-authorized code flow. |
| Service Settings > Tokens and Claims > Advanced > Request Object | Supported Authorization Details Types | openid_credential |
| Service Settings > Tokens and Claims > Advanced > Scope | Supported Scopes | Scope Values - digital_credential, identity_credential and org.iso.18013.5.1.mDL. |
Enable Verifiable Credentials
To enable Verifiable Credentials:- Log in to the Authlete Management Console.
- Click on your Organization name and choose your Service.
- Navigate to Service Settings > Verifiable Credentials > General.
- To turn on
Verifiable Credentials, toggle the enable button. - Click
Save Changesto apply the updates.
Verifiable Credentials
Configure Credential Issuer Metadata
To configure Credential Issuer Metadata:- Navigate to Service Settings > Verifiable Credentials > Credential Issuer Metadata
- Go to the
"Credential Issuer"property and enter an Issuer Identifier. The value must be a valid URL with the https scheme and without the query part and the fragment part. For example,https://credential-issuer.example.com - Go to the
"Credential Endpoint"property and enter a URL. Mandatory. e.g.,https://credential-issuer.example.com/api/credential - Go to
"Supported Credentials”property, and enter credentials - Mandatory. e.g., credential_configurations_supported.json. The value must be a JSON object. Non-ASCII characters may be contained, but Authlete limits the maximum number of characters to 16383. - Click
Save Changesto apply the updates.
Credential Issuer Metadata
Configure JWK Set
To configure JWK key Set for Verifiable Credentials:- Navigate to Service Settings > Key Management > JWK Set > Verifiable Credentials.
- Go to the “JWK Set” and enter a Key Set - Mandatory. e.g., vc-issuer_jwk-set.json
- Click
Save Changesto apply the updates.
JWK Set for Verifiable Credentials
Configure Supported Grant Types
To configure Supported Grant Types for Verifiable Credentials:- Navigate to the Service Settings > Endpoints > Global Settings > General
- Go to “Supported Grant Types” and check mark the following values:
PRE_AUTHORIZED_CODE(if you support the pre-authorized code flow)
- Click
Save Changesto apply the updates.
Supported Grant Types for Verifiable Credentials
Configure Supported Authorization Details Types
To configure Supported Authorization Details Types for Verifiable Credentials:- Navigate to Service Settings > Endpoints > Authorization > Request Object
- For the
"Supported Authorization Details Types"property, addopenid_credential. This is necessary if the client initiates VC issuance using the steps outlined in 2.2.4. Authorization Code Flow + authorization_details. - Click
Save Changesto apply the updates.
Supported Authorization Details Types for Verifiable Credentials
Configure Supported Scopes
To configure Supported Scopes for Verifiable Credentials:- Navigate to the Service Settings > Tokens and Claims > Advanced > Scope
- Go to “Supported Scopes” and add values of
scopefor “Supported Credentials”. For example, if you use thecredential_configurations_supported.jsonintroduced above as an example, adddigital_credential,identity_credentialandorg.iso.18013.5.1.mDL. Adding scope values are required if you support VC issuance using the steps explained in 2.2.5. Authorization Code Flow + scope. - Click
Save Changes.
Scopes for Verifiable Credentials
Scopes for Verifiable Credentials
Client Settings
Configure the following client settings in the Authlete Management Console to enable Verifiable Credentials.| Tab | Key | Value |
|---|---|---|
| Client Settings > Endpoints > Global Settings | Supported Grant Types | PRE_AUTHORIZED_CODE |
| Client Settings > Endpoints > Authorization > Request Object | Authorization Details Types | openid_credential |
Configure Supported Grant Types
To configure Supported Grant Types for Verifiable Credentials:- Navigate to Client Settings > Endpoints > Global Settings
- Go to
"Supported Grant Types"and check markPRE_AUTHORIZED_CODE(if the client uses the pre-authorized code flow). - Click
Save Changes.
Supported Grant Types for Verifiable Credentials
Configure Authorization Details Types
To configure Authorization Details Types Verifiable Credentials:- Navigate to Client Settings > Tokens and Claims > Advanced > Scope:
- Go to
"Authorization Details Types"and addopenid_credential. This is necessary if the client initiates VC issuance using the steps outlined in 2.2.4. Authorization Code Flow + authorization_details. - Click
Save Changes.
Authorization Details Types for Verifiable Credentials
Further Reading
- For In-Depth information about Verifiable Credential (VC), see OpenID for Verifiable Credential Issuance