Using the Access Token
V1
Access Token
An access token functions as a credential in the authID system, granting an application permission to perform specific actions within the platform or access protected resources. Access tokens are used to authorize requests to the system's APIs.
To use any of the Verified platform's API endpoints, the access token must be included in the HTTP Authorization header as part of the HTTP Bearer authentication schema, as shown below:
Authorization: Bearer <authID_Access_token>
Sample JWT Access Token Payload
{
"nameid": "e1a5011f-dc3f-405e-8465-3897fd75f39a",
"unique_name": "TestUser",
"custid": "1256g699-1cdc-40ad-bfaf-93ac4fe1800e",
"custnum": "TestCustomer",
"role": [
"Administrator",
"Transactor",
"External Verificator",
"Configurator"
],
"nbf": 1633710455,
"exp": 1633710755,
"iat": 1633710455,
"iss": "<http://authid.ai>",
"aud": "<http://customer.idcomplete.authid.ai">
}
JWT Tokens
To learn more about JSON Web Tokens (JWTs), see/please visit: JSON Web Tokens.
Updated 4 days ago