Skip to content

Commit

Permalink
Fixed token body formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rjshanahan committed Nov 13, 2023
1 parent 1e0524c commit 273c919
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions XaiValidatePublicApiDefinition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@ paths:
The /token API URL includes values in the query path and will look like this:
`https://{host}/oauth2/token?grant_type=client_credentials`
The host value will either be `auth.tictoc.ai` for production or `auth.stage.tictoc.ai`` for testing.
Remember to include this token in the `Authorization`` header of your calls. In addition, you'll also need to have the following information in your headers:
- Authorisation: A Base64 encoded client_id and client_secret provided to you by the Tiimely team as part of onboarding. The format is: `Basic {client_id}:{client_secret}`
- Content-Type: `application/x-www-form-urlencoded`
**Keep your credentials safe and secure. Don't share your credentials or publish them to publicly accessible locations such as your client-side code or GitHub.**
The host value will either be `auth.tictoc.ai` for production or `auth.stage.tictoc.ai` for testing.
Remember to include this token in the `Authorization` header of your calls. In addition, you'll also need to have the following information in your headers:
- `Authorisation`: A Base64 encoded client_id and client_secret provided to you by the Tiimely team as part of onboarding. The format is: `Basic {client_id}:{client_secret}`
- `Content-Type`: `application/x-www-form-urlencoded`
Keep your credentials safe and secure. Don't share your credentials or publish them to publicly accessible locations such as your client-side code or GitHub.
operationId: getToken
security:
Expand Down

0 comments on commit 273c919

Please sign in to comment.