Slack App Installation Fails With Unauthorized Error Using an OAuth2 Connection
This article addresses an error that occurs when a user attempts to install a Slack application associated with a custom OAuth2 connection in Auth0. The installation fails with the following error:
You are not authorized to install -app name-, it is restricted for this workspace.
Example error:
- Slack
- OAuth2
This error occurs because the Slack workspace has a setting enabled that requires administrator approval before a user can install a new application.
This issue is related to the Slack application management configuration and must be resolved within the Slack workspace.
-
A Slack workspace administrator must disable the setting that requires approval for application installations.
-
For detailed instructions, refer to Slack's documentation: Manage app approval for your workspace.