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
328 }),328 }),
329 ...client(env.FIRST_PARTY_SLACK_CLIENT_ID, env.FIRST_PARTY_SLACK_CLIENT_SECRET, {329 ...client(env.FIRST_PARTY_SLACK_CLIENT_ID, env.FIRST_PARTY_SLACK_CLIENT_SECRET, {
330 name: "slack",330 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,
331 authorizationUrl: "https://slack.com/oauth/v2_user/authorize",334 authorizationUrl: "https://slack.com/oauth/v2_user/authorize",
332 tokenUrl: "https://slack.com/api/oauth.v2.user.access",335 tokenUrl: "https://slack.com/api/oauth.v2.user.access",
333 resource: "https://mcp.slack.com",336 resource: "https://mcp.slack.com",