Use tokens to facilitate authentication to the Run:ai API. The API server must be configured to use the Run:ai identity service to validate authentication tokens.
Use to create application tokens. Select a token using the grant_type
parameter.
Executed successfully.
Bad request.
unexpected error
unexpected error
{- "grantType": "app_token",
- "appID": "string",
- "appSecret": "string",
- "code": "string",
- "redirectUri": "string",
- "refreshToken": "string",
- "username": "string",
- "password": "string",
- "clientID": "string"
}
{- "accessToken": "string",
- "idToken": "string",
- "refreshToken": "string",
- "externalToken": "string"
}
Retrieve access token for an application. The application token is retrieved from the authorization server. This endpoint is deprecated. Use /api/v1/token with the grantType parameter set to app_token instead, with AppID and appSecret set accordingly to get an application token
Executed successfully.
Bad request.
unexpected error
unexpected error
{- "id": "string",
- "name": "string",
- "secret": "string"
}
{- "access_token": "string",
- "id_token": "string"
}