identity_get_access_token_with_authorization_request
Exchange an authorization code, refresh token, or client credentials for a user access token; this legacy endpoint is deprecated in favor of /oidc/oauth2/token.
Instructions
[DEPRECATED] Get an access token.
Use this API instead: * /oidc/oauth2/token Exchange authorization code, refresh token or client_credentials to user access token. ### Access Policy | Role | Access | | ----- | ----- | | Anonymous | ✔️ |
POST /csp/gateway/am/api/auth/authorize
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_with_authorization_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body |