OAuth app setup guide

Slack

Salesforce·self-serve·Library guide 2026-12-05·spot-checked
JSON

Slack allows immediate self-serve multi-workspace deployment via unlisted public distribution without mandatory app review.

Difficulty
1/5
Your hands-on time
30–90 min
Waiting on provider
none
sourcedS8S9
Evidence
2 tested · 13 sourced · 2 uncertain

Depends on what your agent does

self-serve

Sign in + basic profile

openid, profile, email

Sign in with Slack using OpenID Connect (openid, profile, email) allows user authentication and basic profile access via dedicated OpenID endpoints. sourcedS1S3

self-serve

Read and act on workspace conversation data (Unlisted Distributed App)this guide

channels:history, channels:read, chat:write, incoming-webhook, commands (bot and user scopes)

Standard bot and user scopes for reading and posting messages in channels or interacting with workspace data across multiple workspaces can be deployed without Slack app review by activating unlisted public distribution. sourcedS1S2S8S9

review required

Public listing in Slack Marketplace

Any approved bot or user scopes intended for Marketplace distribution

Distributing publicly via the Slack Marketplace requires passing a review against Slack requirements and guidelines. sourcedS8S9

partner-gated

Org-level data compliance and governance

admin.*, discovery

Org-level administration or compliance APIs like Discovery API require enterprise org access or formal partner approval. uncertainS1

Stepsfor: Read and act on workspace conversation data (Unlisted Distributed App)

1

Create Slack App · ~5 min

Sign in to the Slack API portal and create a new Slack app linked to a development workspace. testedA1A2S3S8

you
2

Configure OAuth Scopes and Redirect URLs · ~15 min

Navigate to OAuth & Permissions, add HTTPS Redirect URLs, and select required bot scopes (e.g., chat:write) and user scopes. sourcedS1S2S8

agent can
3

Implement OAuth v2 Flow · ~25 min

Implement OAuth v2 authorization code grant (/oauth/v2/authorize and oauth.v2.access) on your server. sourcedS1

agent can
4

Enable Public Distribution · ~5 min

Navigate to Manage Distribution in the app dashboard, ensure the checklist items are satisfied, and click Activate Public Distribution. sourcedS8

you
What an agent can do for you
  • Generate app manifest configurations containing required bot and user scopes
  • Construct standard /oauth/v2/authorize URLs with proper scope and redirect_uri parameters
  • Handle the oauth.v2.access code exchange to store workspace-specific bot access tokens
Where you take over
  • Sign in to the Slack API console with your Slack credentials
  • Select or create the development workspace hosting the app
  • Review and click Activate Public Distribution under Manage Distribution

Requirements

All OAuth redirect URLs, event URLs, and interaction endpoints must support SSL (HTTPS).sourcedS1S8
A development Slack workspace is required to own the app during initial setup.testedS3S8A1

Nuances and gotchas

Sign in with Slack (OpenID Connect) scopes cannot be combined with non-SIWS bot/user scopes in the same authorization flow; separate OAuth flows must be used.sourcedS1S3
New unlisted commercial apps face tighter rate limits on conversations.history and conversations.replies (1 request per minute) compared to listed Marketplace apps.uncertainS9
Some customer workspaces restrict installations such that only administrators can authorize apps or only Marketplace-listed apps are allowed.sourcedS8S9
If an app requests scopes beyond bot, incoming-webhook, commands, or identify, it is automatically uninstalled if the authorizing user leaves the workspace or becomes a guest.sourcedS8

If you get blocked

ProblemWorkspace-level admin approval settings prevent regular users from installing unlisted apps. sourcedS8S9
What to doInstruct the installer to request workspace administrator approval via Slack's built-in guided interface or apply for official Slack Marketplace listing.
ProblemMismatched redirect_uri parameters between the authorize request and token exchange cause bad_redirect_uri errors. sourcedS1
What to doEnsure the redirect_uri sent to oauth.v2.access exactly matches the one sent to /oauth/v2/authorize and is listed in App Management.

What we could not verify

  • Does Slack impose an undocumented workspace installation count cap on unlisted public apps before requiring Marketplace review? Developers can check developer support forums or submit a ticket to Slack Developer Support to verify.

Evidence

Screenshot of https://api.slack.com/apps
A1 · tested local Chrome (headless) · 2026-12-05

Opened https://api.slack.com/apps → landed on https://api.slack.com/apps (“Slack API: Applications | Slack”). No sign-in wall; page content was readable. Headings: Your Apps | Privacy Preference Center | Manage Consent Preferences | Cookie List. Buttons/links: Allow All | Cookies Details | Cookies Details | Cookies Details | Back Button | Filter Icon | Clear | Apply.

Screenshot of https://api.slack.com/apps?new_app=1
A2 · tested local Chrome (headless) · 2026-12-05

Opened https://api.slack.com/apps?new_app=1 → landed on https://api.slack.com/apps?new_app=1 (“Slack API: Applications | Slack”). No sign-in wall; page content was readable. Headings: Your Apps | Privacy Preference Center | Manage Consent Preferences | Cookie List | Create an app. Buttons/links: Allow All | Cookies Details | Cookies Details | Cookies Details | Back Button | Filter Icon | Clear | Apply.

What the checks changed
  • Spot-check: Confirmed on docs.slack.dev (Marketplace guidelines): apps “installed on less than 10 active workspaces and … less than 20 monthly active users” are not eligible for listing. The listing threshold claim holds.
  • Spot-check: Distribution without listing is self-serve, consistent with docs.slack.dev/app-management/distribution.

Built with gemini-3.8-flash (search) + gemini-3.8-flash (writing). Labels are computed from the evidence each statement cites, never written by the model. How this works

Slack OAuth app guide · Greenlight