client_id and client_secret OAuth2 credentials.
Overview
- Use your
client_idandclient_secretas HTTP basic auth credentials to request an access token from the token endpoint - Extract the
access_tokenfrom the response - Include the
access_tokenas a bearer token on all subsequent requests to Cotality MCP
Step 1: Request an access token
Send aPOST request to the token endpoint for your target environment with your credentials as basic auth:
Step 2: Extract the access token
The response contains your access token in theaccess_token field:
Step 3: Use the token
Include theaccess_token value as a bearer token in the Authorization header on your Cotality MCP connection:
Token expiry
Tokens expire after the duration specified inexpires_in (in seconds). When your token expires, Cotality MCP will reject requests with 401 Unauthorized. Request a new token using the same process.