Setting Up Authentication for APIs
In the integration of REST APIs and GraphQL, you can set various authentication options. These can be specified in the [Authentication] section of each data integration screen.
Authentication Options
1. Basic Authentication
| Field | Description |
|---|---|
| Username | Enter the username used for basic authentication. |
| Password | Enter the password used for basic authentication. |
2. Bearer Token
| Field | Description |
|---|---|
| Bearer Token | Enter the authentication token. Requests will be made in the format Authorization: Bearer <configured token>. |
3. Custom Header
| Field | Description |
|---|---|
| Key | Enter the header key for the token. |
| Value | Enter the token used for authentication. |
4. Auth0
| Field | Description |
|---|---|
| Client ID | Enter the Client ID from Auth0. |
| Client Secret | Enter the Client Secret from Auth0. |
| Domain | Enter the domain for Auth0. |
| Audience | Enter the audience for Auth0. |
| Token Header | Enter the header key where the token will be set. Default is Authorization. |