G2P OpenID VCI: Rest API
Last updated
Last updated
Copyright © OpenG2P. This work is licensed under Creative Common Attribution (CC-BY-4.0) International license unless otherwise noted.
g2p_openid_vci_rest_api
G2P OpenID VCI: Rest API
This module exposes the following OpenID for VCI REST APIs.
The endpoints and their descriptions are given below.
Endpoint | Description |
---|---|
/api/v1/vci/credential
The main credential request API.
Gets the issuer based on scope, credential type, and supported format.
Verifies and validates auth JWT based on issuer config.
Retrieves registrant data based on issuer config and auth JWT sub.
Issues the credential based on credential format.
/api/v1/vci/.well-known/openid-credential-issuer
Issuer metadata API.
collates the issuer_metadata
of all issuers and return
/api/v1/vci/.well-known/openid-credential-issuer/
{SafetyNetIssuer}
Specific Issuer metadata API.
Gets individual metadata of each issuer by suffixing the API with Issuer Name.
/api/v1/vci/.well-known/contexts.json
All the contexts from all the Issuers are collated and returned on this API. This path will be included in as context path within the VC.