Custom OAuth2 clients (apps)

Use your own instead of Locoia's OAuth2 clients

Use Cases

When using Embed you might want to take the whitelabeling one step further and display your end users your own OAuth2 setup screen as well as doing actions on behalf of your app (e.g. sending messages as a Slackbot which has the same name as your company).

Also, some Connectors like Snowflake only allow custom OAuth2 clients/apps.

Adding and updating custom OAuth2 clients

Currently, adding custom OAuth2 clients is only possible via API, however extended functionality and setup directly inside the Locoia app are coming soon.

Edit custom auth details

PUT https://api.locoia.com/v1/connectors/{{ connector_id }}/custom_auth

Path Parameters

Headers

Request Body

{
  "oauth2": [
    {
      "client_id": "CUSTOM_CLIENT_ID",
      "name": "YOUR_SET_NAME"
    }
  ]
}

Adding custom OAuth2 clients is only supported via the Bearer Token which is used in the Locoia app itself. In order to retrieve it, you have to copy the current Bearer Token from your browser's developer tools.

Last updated