Get an auth token from identity server.
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
Success
client_id=string&client_secret=string&grant_type=string&scope=string&code=string&redirect_uri=string
{- "access_token": "string",
- "expires_in": 0,
- "token_type": "string",
- "refresh_token": "string"
}