Slack cloud app

Using the SAML 2.0 standard, you can configure single sign-on (SSO) for a number of cloud apps. After you set up SSO, your users can use their Google Workspace credentials to sign in to an app using SSO.

Use SAML to set up SSO for Slack

Expand all   |   Collapse all

You must be signed in as a  super administrator  for this task.

Step 1: Set up Google as a SAML identity provider
  1. Sign in with a super administrator account to the Google Admin console.

    If you aren’t using a super administrator account, you can’t complete these steps.

  2. Click Add app Search for apps.
  3. For Enter app name, enter Slack.
  4. In the search results, point to Slackand click Select.
  5. In the Google Identity Provider detailswindow, for Option 2: Copy the SSO URL, entity ID, and certificate:
    1. Next to SSO URL, click Copyand save the URL.
    2. Next to Entity ID, click Copyand save the entity ID.
    3. Next to Certificate, click Downloadand save the certificate.
      You need these details to complete the setup in Slack.
  6. Click Continue.
  7. On the Service provider detailspage:
    1. For ACS URL, replace {your-team-name}with your Slack team name.
    2. For Entity ID, if https://slack.com is used by another Slack SAML app, enter https://{your-team-name}.slack.comand replace {your-team-name}with your Slack team name. (The same entity ID can't be used by more than one SAML app.)
    3. For Start URL, check the Signed responsebox.
  8. Click Continue.
  9. In the Attribute Mappingwindow, click Select fieldand map the following Google directory attributes to their corresponding Slack attributes. The User.Email attribute is required.
    Google directory attribute Slack attribute
    Basic Information > Primary Email User.Email
    Basic Information > First Name first_name
    Basic Information > Last Name last_name
  10. (Optional) To add additional mappings, click Add Mappingand select the fields that you need to map.
  11. (Optional) To enter group names that are relevant for this app:
    1. For Group membership (optional), click Search for a group, enter one or more letters of the group name, and select the group name.
    2. Add additional groups as needed (maximum of 75 groups).
    3. For App attribute, enter the corresponding groups attribute name of the service provider.

    Regardless of how many group names you enter, the SAML response includes only groups that a user is a member of (directly or indirectly). For more information, go to  About group membership mapping .

  12. Click Finish.
Step 2: Set up Slack as a SAML 2.0 service provider
  1. Open an Incognito browser window, go to https://{your-team-name}.slack.com/home, replace {your-team-name}with your Slack team name, and sign in with your Slack administrator or team owner account.
  2. Go to Settings & Permissions the Authenticationtab.
  3. For SAML authentication, click Configureand confirm your password.
  4. In the Choose your SAML providerwindow, select Custom SAML 2.0and then click Configure.
  5. For SAML 2.0 Endpoint (HTTP), paste the the SSO URL that you copied in Step 1.
  6. For Identity Provider Issuer, paste the the entity ID that you copied in Step 1.
  7. For Public Certificate, paste the entire contents of the certificate file that you downloaded in Step 1.
    You might need to change the file extension to .txt so you can open the file with a text editor.
  8. In the Advanced Optionssection:
    1. For Service Provider Issuer, if you changed the entity ID in Step 1, enter the entity ID that you used.
    2. For Choose how the SAML response from your IDP is signed, check the Responses Signedbox.
  9. For Settings, indicate how authentication should be applied to your team.
  10. Click Save Configuration.
Step 3: Turn on app for users

Before you begin: To turn a service on or off for certain users, put their accounts in an organizational unit (to control access by department) or add them to an access group (to allow access for users across or within departments).

  1. Sign in with a super administrator account to the Google Admin console.

    If you aren’t using a super administrator account, you can’t complete these steps.

  2. Click Slack.
  3. Click  User access.
  4. To turn a service on or off for everyone in your organization, click  On for everyoneor  Off for everyone, and then click  Save.

  5. (Optional) To turn a service on or off for an organizational unit:
    1. At the left, select the organizational unit.
    2. To change the Service status, select  Onor  Off.
    3. Choose one:
      • If the Service status is set to  Inherited and you want to keep the updated setting, even if the parent setting changes, click Override.
      • If the Service status is set to  Overridden, either click Inheritto revert to the same setting as its parent, or click  Saveto keep the new setting, even if the parent setting changes.
        Learn more about organizational structure .
  6. (Optional) To turn on a service for a set of users across or within organizational units, select an access group. For details, go to Use groups to customize service access .
  7. Ensure that your Slack user account email domains match the primary domain of your organization’s managed Google Account.
Step 4: Verify SSO is working

Slack supports both identity provider-initiated and service provider-initiated SSO.

Verify identity provider-initiated SSO

  1. Sign in with a super administrator account to the Google Admin console.

    If you aren’t using a super administrator account, you can’t complete these steps.

  2. Click Slack.
  3. In the Slacksection, click Test SAML Login.

    The app should open in a separate tab. If it doesn’t, troubleshoot the error message and try again. For details on troubleshooting, go to SAML app error messages .

Verify service provider-initiated SSO

  1. Close all browser windows.
  2. Go to http://{your-team-name}.slack.com, replace {your-team-name}with your Slack team name, and sign in with your Slack administrator account.
    You should be redirected to the Google sign-in page.
  3. Select your account and enter your password.

After your credentials are authenticated, the app should open.

Step 5: Set up user provisioning
As a super administrator, you can automatically provision users in the app. For details, go to Configure Slack user provisioning .


Google, Google Workspace, and related marks and logos are trademarks of Google LLC. All other company and product names are trademarks of the companies with which they are associated.

Was this helpful?

How can we improve it?
true
Start your free 14-day trial today

Professional email, online storage, shared calendars, video meetings and more. Start your free Google Workspace trial today .

Search
Clear search
Close search
Google apps
Main menu
13751952074659284257
true
Search Help Center
false
true
true
true
true
true
73010
false
false
false
false
Design a Mobile Site
View Site in Mobile | Classic
Share by: