You can use these credentials to authenticate the following nodes:

  • Twist

Prerequisites

Supported authentication methods

  • OAuth2

Refer to Twist’s API documentation for more information about authenticating with the service.

Using OAuth2

To configure this credential, you’ll need:

  • A Client ID: Generated once you create a general integration.
  • A Client Secret: Generated once you create a general integration.

To generate your Client ID and Client Secret, create a general integration.

Use these settings for your integration’s OAuth Authentication:

  • Copy the OAuth Redirect URL enter it as the OAuth 2 redirect URL in Twist.

    Twist doesn’t accept a localhost Redirect URL. The Redirect URL should be a URL in your domain, for example: https://mytemplatemaker.example.com/gr_callback. If your Stigg OAuth Redirect URL contains localhost, refer below to Local environment redirect URL for generating a URL that Twist will allow.

  • Select Update OAuth settings to save those changes.

  • Copy the Client ID and Client Secret from Twist and enter them in the appropriate fields in Stigg.

Local environment redirect URL

Twist doesn’t accept a localhost callback URL. These steps should allow you to configure the OAuth credentials for the local environment:

  1. Use ngrok to expose the local server running on port 5678 to the internet. In your terminal, run the following command:
ngrok http 5678
  1. Run the following command in a new terminal. Replace <YOUR-NGROK-URL> with the URL that you get from the previous step.
export WEBHOOK_URL=<YOUR-NGROK-URL>
  1. Use the generated URL as your OAuth 2 redirect URL in Twist.