Slack Dynamic OAuth2 Account

Slack Dynamic OAuth2 Account

In this article


Overview

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.

Loading

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.

Limitations

  • Bot Tokens do not work with the Search, Channel Operations, and Workspace Operations Snaps.
  • User Tokens can perform all actions on individual workspaces, but the Enterprise Grid-based operations require User Tokens of a Slack Enterprise Admin or Owner.

Known Issues

None.

Account Settings

You can create a Slack Dynamic OAuth2 account for a Bot User or a generic user.



ParameterData TypeDescriptionDefault ValueExample 
LabelString

Required. Specify a unique label for the account.

N/ASlack_Dynamic_OAuth_Bot
Access TokenString/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.

Updating Scopes for your app

When you update the list of Scopes for your Slack app in the OAuth Tokens & Redirect URLs section of the app, you must click Re-install app to ensure that the latest set of scopes take effect.

Access Tokens

By default, Slack tokens do not expire. If you have an Enterprise Admin account, you can set an expiry duration for your app's user token.

See Revoke All OAuth Tokens to learn more about revoking all your OAuth tokens, if required.

N/Axoxb-1331052996481-1411658495648-zrrpuI4BMvBQaRbqQABz3Zzx
Header authenticatedCheck boxSelect this check box to specify that Slack uses the bearer header authentication.Not SelectedSelected

Loading
Loading

Troubleshooting

ErrorReasonResolution
Authentication failedYou 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. 

Snap Pack History

 Click here to expand...


Release

Snap Pack Version 

Date

Type

Updates

May 2025

441patches31073

Latest

Fixed an issue where the Workspace Operations Snap failed with a 429 rate limit error while fetching the entire list of Slack channels (public, private, group, and DM) in the workspace. The Snap now uses an internal Retry mechanism to prevent issues caused by rate limits.

May 2025

main31019

Stable

Updated and certified against the current SnapLogic Platform release.

February 2025

main29887

 

Stable

Updated and certified against the current SnapLogic Platform release.

November 2024

main29029

 

Stable

Updated and certified against the current SnapLogic Platform release.

August 2024

main27765

 

Stable

Upgraded the org.json.json library from v20090211 to v20240303, which is fully backward compatible.

May 2024

main26341

 

Stable

Updated and certified against the current SnapLogic Platform release.

February 2024

main25112

 

Stable

Updated and certified against the current SnapLogic Platform release.

November 2023

main23721

 

Stable

Updated and certified against the current SnapLogic Platform release.

August 2023

main22460

 

Stable

Updated and certified against the current SnapLogic Platform release.

May 2023

main21015

 

Stable

Upgraded with the latest SnapLogic Platform release.

February 2023

main19844

 

Stable

Upgraded with the latest SnapLogic Platform release.

November 2022

main18944

 

Stable

Upgraded with the latest SnapLogic Platform release.

August 2022

main17386

 

Stable

Upgraded with the latest SnapLogic Platform release.

4.29 Patch

429patches16199

 

Latest

  • Fixed an issue with the Send Message Snap where the Snap displayed a Null Pointer Exception error when you select User Emails for the Target Type field and the user email id contained null, for example, @slackbot:null. Now, the Snap displays a valid error message.

  • Fixed an issue with the User ID field for the following Slack Snaps where the Snap failed with the User not found error when using @user.name in the User ID field.

4.29

main15993

 

Stable

Enhanced the Slack - Send Message Snap with User Emails option for the Target Type dropdown list to send messages on Slack app using the user’s email.

4.28

main14627

 

Stable

Upgraded with the latest SnapLogic Platform release.

4.27

main12833

 

Stable

Upgraded with the latest SnapLogic Platform release.

4.26

main11181

 

Latest

Upgraded with the latest SnapLogic Platform release.

4.25 Patch

425patches10994

 

Latest

Improved the error messages in the Channel Operations Snap where the Snap fails with Null Pointer Exception when the account reference provided is invalid.

4.25

main9554

 

Stable

No updates made.

4.24

main8556

13 Feb 2021

Stable

No updates made.

4.23

main7430

 

Stable

Initial release of the Snap Pack with the following Snaps and Accounts:




Related content