light-mode-image
Learn
MATTR VII PlatformVerifier auth

Retrieve Token

OIDC Token endpoint

The OpenId Connect /token endpoint is used to obtain the access_token and id_token by presenting a valid authorization code

Analytics Events

OIDC_VERIFIER_AUTH_STARTOIDC_VERIFIER_AUTH_SUCCESSOIDC_VERIFIER_AUTH_FAIL
POST/ext/oidc/v1/verifiers/{id}/token

Path Parameters

idstring

Verifier ID

Formatuuid

Token endpoint request

client_id?
client_secret?string
grant_type?string
code?string
redirect_uri?string
Formaturi
client_id?string
client_secret?string
grant_type?string
refresh_token?string
redirect_uri?string
Formaturi

Response Body

curl -X POST "https://example.vii.au01.mattr.global/ext/oidc/v1/verifiers/41458e5a-9092-40b7-9a26-d4eb43c5792f/token" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d ''
{
  "access_token": "string",
  "token_type": "bearer",
  "refresh_token": "string",
  "expires_in": 0,
  "id_token": "string"
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}

How would you rate this page?