Home / Companies / Nango / Blog / Post Details
Content Deep Dive

How to fix Slack OAuth error: invalid_team_for _non_distributed_app

Blog post from Nango

Post Details
Company
Date Published
Author
Sapnesh Naik
Word Count
680
Language
-
Hacker News Points
-
Summary

The invalid_team_for_non_distributed_app error in Slack occurs when a Slack app is attempted to be installed in a different workspace from where it was created, as Slack apps are by default restricted to internal use. To resolve this issue, one must enable the "Public Distribution" setting in the Slack App Settings, ensuring that all necessary scopes, webhooks, and events are configured, and valid OAuth redirect URLs are set. This change allows the app to be installed in external workspaces without needing a Marketplace submission. Common OAuth errors during Slack integration include issues like invalid_grant, bad_redirect_uri, and invalid_client_id. Nango, an open-source platform, can simplify managing Slack integrations by providing features like automatic token refreshes, secure credential storage, and webhook management, streamlining the integration process.