Post Authn Authorize
DescriptionGet access token for OAuth app in an organization.
Request
URLURL
Query Parameters
Query Parameters
The validity in seconds for the access token
Unique identifier (GUID) of the organization.
Header Parameters
Header Parameters
Basic auth with client credentials [Basic Base64_Encode(client_id:client_secret)]
Request Body
The application/x-www-form-urlencoded form data type.
Authentication
Response
Response BodyResponse Body
200 OK
{
"accessToken": "...",
"idToken": "...",
"refreshToken": "...",
"returnUrl": "..."
}
The access token. This is a JWT token that grants access to resources.
The ID Token is a signed JWT token returned from the authorization server and contains the user’s profile information, including the domain of the identity provider. This domain is used to obtain the identity provider URL. This token is used for optimization so the application can know the identity of the user, without having to make any additional network requests. This token can be generated via the Authorization Code flow only.
The value of the Refresh token.
Defines the return URL here.
Errors
Bad Request - The request is either incomplete or incorrect
Unauthorized - The user is not authorized to use the API
Forbidden - User does not have permission for this operation
Internal Server Error - An unexpected error has occurred while processing the request