Authentication
Endpoints for authenticating API clients and obtaining access tokens
API Client Get Token
Authenticate an API client to obtain an access token using client credentials
Query Parameters
Content-Type
string
Response
Successful authentication, token issued
access_token
string
expires_in
integer
refresh_expires_in
integer
refresh_token
string
token_type
string
not-before-policy
integer
session_state
string
scope
string
POST /realms/sandbox/protocol/openid-connect/token
Response Example
{
"access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJUc1U0ZUMtU19BQURSVXRXRl9YLVZlU0xMMDNJRzBMaEtvZXhqUjFuQzNNIn0...",
"expires_in": 300,
"refresh_expires_in": 1800,
"refresh_token": "eyJhbGciOiJIUzUxMiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI4MmRjYmY2Ni04MzY4LTQzNDQtYTJiNC0yODk1NDBhNmRhNGMifQ...",
"token_type": "Bearer",
"not-before-policy": 0,
"session_state": "99e050ac-0cc6-40a5-9dbb-dfe19657addb",
"scope": "email profile"
}