Token

Get an auth token from identity server.

Get an auth token from identity server.

Request
Request Body schema: application/x-www-form-urlencoded

The request body is in x-www-form-urlencoded format.

An example body for authorization_code flow would look like:
code=yourauthcode&client_id=client-id&client_secret=alhjad^7hhg&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fwww.hcss.com

An example body for client_credential flow would look like:
client_id=client-id&client_secret=alhjad^7hhg&grant_type=client_credentials&scope=heavyjob%3Aread%20dis%3Aread

client_id
string
client_secret
string
grant_type
string
scope
string
code
string
redirect_uri
string
Responses
200

Success

post/connect/token
Request samples
application/x-www-form-urlencoded
client_id=string&client_secret=string&grant_type=string&scope=string&code=string&redirect_uri=string
Response samples
application/json
{
  • "access_token": "string",
  • "expires_in": 0,
  • "token_type": "string",
  • "refresh_token": "string"
}