Connect Apps to Slack
The Slack social connection allows users to log in to your application using their Slack profile.
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.
Before you begin, sign up for a Slack Developer account.
To connect your app to Slack, you will:
Set up app in Slack
You'll need credentials to use Sign in with Slack. To retrieve your Client ID and secret, you'll need to create a Slack App if you haven't already.
Once your app is created, copy and paste the Client ID and Client Secret into the Auth0 configuration screen. Next, click on OAuth & Permissions in the Features menu on the left, and add
https://YOUR_DOMAIN/login/callback as a new Redirect URL
Find your Auth0 domain name
If 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
If you are using custom domains, your callback URL will have the following format:
https://<YOUR CUSTOM DOMAIN>/login/callback.
Create and enable connection in Auth0
Set up the Slack social connection in Auth0. Make sure you have the generated Client ID and Client Secret.
You're ready to test your connection.