History

Hide built-in Slack OAuth option (#1998)

Rhys Sullivan committed 1 month ago

Commit 10ec56e1 parent 74222191 file · +3 −0Browse files

Unified · Split

apps/cloud/src/engine/first-party-oauth-clients.ts+3−0
@@ -328,6 +328,9 @@ export const firstPartyOAuthClientsFor = ( · 327 unmodified lines
328328 }),
329329 ...client(env.FIRST_PARTY_SLACK_CLIENT_ID, env.FIRST_PARTY_SLACK_CLIENT_SECRET, {
330330 name: "slack",
331+ // Slack MCP requires Marketplace approval for use outside the app's workspace.
332+ // Keep the client resolvable for existing connections while withholding it.
333+ unlisted: true,
331334 authorizationUrl: "https://slack.com/oauth/v2_user/authorize",
332335 tokenUrl: "https://slack.com/api/oauth.v2.user.access",
333336 resource: "https://mcp.slack.com",