Token-based services

Token-based
Copy

To enable Token based authentication, you'll need access to the token of the third-party service you wish to use, as well as knowledge of any additional properties needed to authenticate.

Please follow the steps as displayed where possible, for your own chosen Token based API authentication service.

For those looking for a more detailed walk-through, checkout our Token example: Authentication examples: Token: Airtable

Token: Airtable
Copy

To demonstrate how to set up a token based service, this demo will use the Airtable API for the remainder of this example.

Note for Parameterization
Copy

Parameterization allows you to provide the values for fields like Client Id, Client Secret and the API url at the time of creating authentications. It adds:

  1. reusability as you can use different OAuth apps in different integrations by creating a single service

  2. security as you don't have to expose the values in the services page and you will only feed them while creating the auth.

Here's an example on how it can make your service reusable:

Shopify has custom URL for domains, you can parameterize the url in the OAuth 2 settings by passing a placeholder as: {{shopify_url}}

Now you can add the same placeholder value below in the 'Authentication parameters' section

NOTE: The unique property key has to match the placeholder value you passed in the settings.