/auth/realms/{realm}/protocol/openid-connect/token

Obtains an access token and a refresh token from the authentication server. Requires the Client ID and Secret ID associated with the application in the Developer Portal.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Defaults to sandbox

For Production env value should be passed as 'live' for other cases it should be 'sandbox'

Form Data
string
required
Defaults to client_credentials

Method used to obtain access token. Valid value is "client_credentials".

string
required

Unique client identifier for an application registered in the Developer Portal. It is used to obtain an access token for authentication.

string
required

Unique secret identifier for an application registered in the Developer Portal. It is used to obtain an access token for authentication.

string

(Optional Parameter) Token that can be used to obtain a new access token with the same authorization grant.

Headers
string
required
Defaults to application/x-www-form-urlencoded
Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json