GET/conformance/v3/auth-mock/authorize
After discovery, the client initiates the Verifiable Credential Issuance flow by requesting access to the required credential from the Authorisation Server. The Authorisation Request Object must be signed with the private key of the client associated with the client_id. The client's public key must be accessible via the jwks_uri parameter in the client's openid-configuration.
Request
Query Parameters
- openid
- accreditationIssuance
REQUIRED. OpenID Connect requests MUST contain the openid scope value. If the openid scope value is not present, the behavior is entirely unspecified.
OpenID
Example: openid
REQUIRED. OAuth 2.0 Response Type value that determines the authorisation processing flow to be used, including what parameters are returned from the endpoints used. When using the Authorisation Code Flow, this value is code.
MUST be 'code'
OAuth 2.0 Client Identifier valid at the Authorisation Server.
Verifiable Accreditation Issuance: MUST be URL of the issuer requesting the accreditation that was registered with the Accreditation Issuer
Accreditation or VC Issuance to Server/Cloud Wallet
Example: https://my-issuer.eu/suffix/xyz
REQUIRED. Redirection URI to which the response will be sent. This URI MUST exactly match one of the Redirection URI values for the Client pre-registered at the OpenID Provider.
RECOMMENDED. Opaque value used to maintain state between the request and the callback. Typically, Cross-Site Request Forgery (CSRF, XSRF) mitigation is done by cryptographically binding the value of this parameter with a browser cookie.
OPTIONAL. String value used to associate a Client session with an ID Token, and to mitigate replay attacks. The value is passed through unmodified from the Authentication Request to the ID or VP Token. Sufficient entropy MUST be present in the nonce values used to prevent attackers from guessing values.
Only for Service Wallets. Authorisation Request Object - The Request Object must be signed with the client's private keys, owned by the requesting client_id. The used private key's public key must be discoverable through client's openid-configuration through jwks_uri parameter.
See the Authorisation Request Object schema.
Only for Holder Wallets. OID authorisation details data model.
Note:
authorization_details
See "OID4VCI Authorisation Details" schema for more information.
Only for Holder Wallets. Client Metadata including a link to an
authorization_endpoint
Note:
client_metadata
See "Client Metadata" schema for more information.
REQUIRED if Credential Offering contained
issuer_state
Only for Holder Wallets. In format of
BASE64URL-ENCODE(SHA256(code_verifier as UTF-8 string))
code_verifier
Only for Holder Wallets. MUST be "S256".
Responses
- 302
- 400
- 500
Authorisation Server responds with one of the three responses:
- ID Token Request
- VP Token Request
- Error codes for authorisation endpoint
All responses are in the "Location" header parameter and are application/x-www-form-urlencoded
Response Headers
Location string
application/x-www-form-urlencoded ID Token Request
Authorisation Endpoint Error
- application/problem+json
- Schema
- invalidRedirectURI
Schema
Default value: about:blank
An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type.
A short summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"detail": "[\"redirect_uri must be a URL address\"]",
"status": 400,
"title": "Bad Request",
"type": "about:blank"
}
Internal Error
- application/problem+json
- Schema
- Internal Server Error
Schema
Default value: about:blank
An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type.
A short summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"title": "Internal Server Error",
"status": 500,
"detail": "The server encountered an internal error and was unable to complete your request"
}