Twist credentials
You can use these credentials to authenticate the following nodes:
Prerequisites
- Create a Twist account.
- Create a general integration and configure a valid OAuth Redirect URL. Refer to Using OAuth2 for more information.
Supported authentication methods
- OAuth2
Related resources
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 from Otera and enter it as the OAuth 2 redirect URL in Twist.
-
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 Otera.
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:
- Use ngrok to expose the local server running on port
5678to the internet. In your terminal, run the following command:
ngrok http 5678
- 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>
- Use the generated URL as your OAuth 2 redirect URL in Twist.