light-mode-image
Learn
MATTR VII PlatformIssuance

Request authorization for access to resources

This endpoint is used to request authorization from the user for access to the requested resources. After the user approves the request, an authorization code is returned to the client. See https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html#name-authorization-endpoint See https://www.rfc-editor.org/rfc/rfc6749.html#section-3.1

Analytics Events

OPENID_AUTHORIZE_STARTOPENID_AUTHORIZE_SUCCESSOPENID_AUTHORIZE_FAIL
GET/v1/oauth/authorize

Query Parameters

response_typestring

The response type, which must be 'code'.

Value in"code"
client_idstring

The client identifier.

redirect_uristring

The URI to which the authorization server will redirect the user-agent with the authorization code.

scopestring

The scope of the access request.

state?string

An opaque value used by the client to maintain state between the request and callback.

code_challenge_methodstring

The method used to derive the code_challenge, which must be 'S256'.

Value in"S256"
code_challengestring

A high entropy random challenge generated by the client.

Response Body

curl -X GET "https://example.vii.au01.mattr.global/v1/oauth/authorize?response_type=code&client_id=string&redirect_uri=string&scope=string&state=string&code_challenge_method=S256&code_challenge=string"
Empty
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}
"Unauthorized"
Empty
Empty

How would you rate this page?