Skip to content

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.

  1. On the Asgardeo Console, go to Applications.

  2. Click New Application and under SSO Integrations, select Salck.

    Select app type in the Asgardeo

  3. 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 the Slack 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, enter myorg as the domain name.

      Note

      Follow Slack's guidelines to locate your Slack URL.

    Select slack workspace app in the Asgardeo

  4. Click Create to complete the registration.

Configure Slack

Follow the steps below to configure Slack for SSO authentication with Asgardeo.

  1. Sign in to your Slack workspace.

  2. 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 form https://<domain-name>.slack.com

    Sample Slack SSO Settings Form

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.

  1. Create a user in Asgardeo.

  2. 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.

  3. 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.