identity_get_access_token_pkce_flow
Exchanges OAuth authorization_code or refresh_token grants for an access token, validating PKCE code_verifier values. Deprecated; use /oidc/oauth2/token instead.
Instructions
[DEPRECATED] Exchanges one of the following grants: authorization_code or refresh_token for access token.
Use this API instead: * /oidc/oauth2/token This end-point exchanges one of the following grants: authorization_code, refresh_token, client_credentials for an access token. 1. Include the parameters using application/x-www-form-urlencoded format in the HTTP request body. 2. Include Basic Base64_Encode(client_id:client_secret) value in the HTTP authorization header. Organization ID parameter notes: when organization id is missing from the request the default organization will be used. 3. Upon password grant type, user default organization will be set if available. 4. Upon client_credentials…
POST /csp/gateway/am/api/auth/token
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "identity_get_access_token_pkce_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | The application/x-www-form-urlencoded form data type. — Content-Type: application/x-www-form-urlencoded |