History

Hide built-in Slack OAuth option (#1998)

Rhys Sullivan committed 2 months ago

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

Showing the changes to apps/cloud (1 of 1 file). Show all

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",

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t