Log in to Slack using Asgardeo¶
This page guides you through integrating Asgardeo for Single Sign-On (SSO) with Slack.
Before you begin
You need to have a Slack Workspace account that supports SSO. Refer to the Slack documentation for more details.
Create the Slack application¶
Follow the steps given below to register the Slack application in Asgardeo.
-
On the Asgardeo Console, go to Applications.
-
Click New Application and under SSO Integrations, select Salck.
-
Provide a name for your application and the following values:
-
Issuer Name - By default, Slack uses
https://slack.com
as the issuer name. You only need to modify this setting if you are creating multiple Slack SSO applications. If you choose to use theSlack Workspace URL
as the issuer name instead, ensure that the configuration in Slack is updated accordingly to reflect this change. -
Domain Name - Slack domain name is the first part of your Slack workspace URL. For example, if it is
https://myorg.slack.com
, entermyorg
as the domain name.Note
Follow Slack's guidelines to locate your Slack URL.
-
-
Click Create to complete the registration.
Configure Slack¶
Follow the steps below to configure Slack for SSO authentication with Asgardeo.
-
Sign in to your Slack workspace.
-
Use the following values and configure SSO settings for Slack. Refer to Slack documentation for more information.
-
SAML 2.0 Endpoint -
https://api.asgardeo.io/t/{organization_name}/samlsso
-
Identity provider issuer -
api.asgardeo.io/t/{organization_name}
-
Public certificate - Obtain the certificate from the
Guide
tab of the configured Slack application. -
Service provider issuer - This should be the same as the Issuer Name you configured when creating the Slack application in Asgardeo. If you chose
Slack Workspace URL
instead of the default Slack URL, make sure this value takes the formhttps://<domain-name>.slack.com
-
Try it out¶
Now that you have integrated Asgardeo with Slack, follow the steps below to test it.
Note
When the workspace owner enables SSO for the Slack workspace, existing users will receive an email to their registered email addresses to bind their Asgardeo account. New users will be auto-provisioned during login. For more details, refer to Slack documentation on What to expect after SSO is enabled and Sign in to Slack.
-
Create a user in Asgardeo.
-
Navigate to https://slack.com/workspace-signin and enter the Slack workspace URL. This will take you to the workspace login page, where you can choose to sign-in with SSO. You will then be redirected to the Asgardeo login screen.
-
Enter the username and password of the user you created in Asgardeo, and complete the login process.
Troubleshooting guidelines¶
To troubleshoot SSO failures on the Slack side, refer to Slack documentation.