In this article
Each account type separately. Maintain them as child pages of the main Accounts page. Remove Prerequisites, Limitations, and Troubleshooting from the main Accounts page if using this template.
Provide an overview of the account type.
You can use this account type to connect Slack Snaps with data sources that use Dynamic OAuth2 accounts using either a Bot User Token (Bot Token) or a User Token.
Provide all prerequisites for configuring the account type or use 'None.' if there are no prerequisites.
Valid Slack app that provides the following details:
See Start building Slack apps for details about creating an app. Once you install the app in your workspace, you can find these tokens in the https://api.slack.com/apps/<appid>/oauth? page, where <appid> is your application ID, which is populated in the browser's address bar after installing your app.
List all account-based limitations as bullets. Use "None." if there are no limitations.
None.
You can create a Slack Dynamic OAuth2 account for a Bot User or a generic user.
Include a screenshot of the fully configured account. Do this for each account type. If the account type has fields that are auto-populated when you validate/authorize it, mention so before the screenshot. For example: To create your REST OAuth2 account in SnapLogic, you must provide at least your Client ID, Client secret, OAuth2 endpoint, and OAuth2 token and click Authorize. SnapLogic sends your account details to the OAuth2 endpoint specified and populates the Access token, Refresh token, and Access token expiration fields using the details received from that endpoint.
Parameter | Data Type | Description | Default Value | Example | ||
---|---|---|---|---|---|---|
Label | String | Required. Specify a unique label for the account. | N/A | Slack_Dynamic_OAuth_Bot | ||
Access Token | String/Expression | Required. Copy the value in Bot User OAuth Access Token or OAuth Access Token from the OAuth & Permissions section https://api.slack.com/apps/<App_ID>/oauth? and paste it into this field. <App_ID> corresponds to the Slack App you created for your Slack workspace.
| N/A | xoxb-1331052996481-1411658495648-zrrpuI4BMvBQaRbqQABz3Zzx | ||
Header authenticated | Check box | Select this check box to specify that Slack uses the bearer header authentication. | Not Selected | Selected |
Configuring Redirect URLs for your appWhile creating the Slack app, you must configure a Redirect (callback) URL for Slack to verify and authorize the communication between the app and your SnapLogic environment.
|
Revoke All OAuth TokensYou can revoke all the OAuth tokens that you generated for your app if you want to revoke the various access permissions provided to your app's users.
|
Error | Reason | Resolution |
---|---|---|
Enter the error message that is displayed. Authentication failed | Briefly describe why this error is triggered. An experienced user will be able to troubleshoot the error looking at the reason itself. You have entered an incorrect token. | Verify that you have copied the correct token value for the account and the application has the required access privileges. |
Provide links to the endpoint's official documentation, any relevant or related internal documentation, and any other links you have referred to on this page. Care should be taken when referencing external sites/documentation that it is an official site/documentation. Do not refer to forums such as stackoverflow.