Skip to content

Commit

Permalink
Merge pull request #1 from TicTocHomeLoans/feature/SSI-10603-and-SSI-…
Browse files Browse the repository at this point in the history
…10655

SSI-10603 SSI-10655 Added changes from GitLab develop branch
  • Loading branch information
rjshanahan authored Aug 7, 2024
2 parents 30f3f52 + 94b26f5 commit 44f6b8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ProductApiDefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ paths:
- url: https://auth.tictoc.ai/oauth2
description: Production authorisation server
description: >-
Before you can call the XAI Validate endpoints, you need to authenticate via the `/token` API. Successful authentication will return a token that can then be used to authorise your access to functional APIs. You'll need to include this token in the `Authorization` header in your calls.
Before you can call the Xapii endpoints, you need to authenticate via the `/token` API. Successful authentication will return a token that can then be used to authorise your access to functional APIs. You'll need to include this token in the `Authorization` header in your calls.
The `/token` API URL includes values in the query path. The URL 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.
You'll also need to include information in your headers:
- `Authorization`: Base64 encoded `client_id` and `client_secret` provided to you by the XAI Validate team as part of onboarding. The format is: `"Basic {client_id}:{client_secret}"`
- `Authorization`: Base64 encoded `client_id` and `client_secret` provided to you by the Xapii team as part of onboarding. The format is: `"Basic {client_id}:{client_secret}"`
- `Content-Type`: the value is `"application/x-www-form-urlencoded"`
**Remember, your API credentials must be kept safe and secure. Do not share these or publish to publicly accessible locations such as your client-side code or GitHub.**
Expand Down

0 comments on commit 44f6b8a

Please sign in to comment.