The Slack integration enables your AI Agents to authenticate users with their Slack accounts and interact with Slack workspaces on their behalf.
By default, Auth0 automatically syncs user profile data with each user login, thereby ensuring that changes made in the connection source are automatically updated in Auth0. Optionally, you can disable user profile data synchronization to allow for updating profile attributes from your application.

Overview

The Slack integration is ideal for AI agents that need to participate in team communications, automate workflows, or provide intelligent assistance within Slack workspaces. This connection provides access to messages, channels, and workspace data.

Configuration

1

Set up app in Slack

  1. Sign up for a Slack Developer account
  2. If you haven’t already, create a Slack App
2

Configure for Auth0

  1. Once your app is created, copy and paste the Client ID and Client Secret into the Auth0 configuration screen.
  2. Next, click on OAuth & Permissions in the Features menu on the left. Use the following settings when configuring your app:
  • Redirect URI: https://YOUR_DOMAIN/login/callback
Find your Auth0 domain nameIf your Auth0 domain name is not shown above and you are not using our custom domains feature, your domain name is your tenant name, your regional subdomain (unless your tenant is in the US region and was created before June 2020), plus.auth0.com. For example, if your tenant name were exampleco-enterprises, your Auth0 domain name would be exampleco-enterprises.us.auth0.com and your redirect URI would be https://exampleco-enterprises.us.auth0.com/login/callback. (If your tenant is in the US and was created before June 2020, then your domain name would be https://exampleco-enterprises.auth0.com.)If you are using custom domains, your redirect URI will have the following format: https://<YOUR CUSTOM DOMAIN>/login/callback.

Configure Token Vault

You will need to configure your connection so it can retrieve and store access tokens for third-party APIs. Auth0’s Token Vault organizes the access and refresh tokens of federated connections in secure tokensets. Applications can then access the Token Vault to retrieve access tokens to call third-party APIs. To learn more, read Configure Token Vault.