Search
Clear search
Close search
Google apps
Main menu
true

Slack cloud application

 

Using Security Assertion Markup Language (SAML), your users can use their Google Cloud credentials to sign in to enterprise cloud applications.

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

Set up SSO via SAML for Slack

As an administrator, here's how to set up single-sign on (SSO) via SAML for the Slack® application.

Step 1: Set up Google as a SAML identity provider (IdP)
  1. Sign in to your Google Admin console.

    Sign in using your administrator account (does not end in @gmail.com).

  2. From the Admin console dashboard, go to Apps and then SAML Apps.

    To see Apps on the dashboard, you might have to click More controls at the bottom. 

  3. Select the Add a service/App to your domain link or click the plus (+) icon in the bottom corner.
  4. Select Slack from the list and then click Next. The values on the Google IDP Information page automatically populate.
  5. In the Basic application information window, the Application name and Description values automatically populate. You can edit them.
  6. (Optional) Click Choose file next to the Upload Logo field to upload a PNG or GIF file to serve as an icon. The file size should be 256 pixels square.
  7. Click Next.
Step 2: Enter the Slack specific service provider details
  1. In the Service Provider Details window, enter these URLs:
    • ACS URL: https://your-team-name.slack.com/sso/saml
    • Entity ID: https://slack.com
    • Start URL: Leave empty
  2. Check the Signed Response box
  3. (Optional) Change the default Name ID as needed. You can use user schema custom attributes after creating them via Google Admin SDK APIs, but you have to create custom attributes before setting up the Slack SAML app. Name ID can have one value.
  4. Set Name ID Format to Persistent.
  5. Click Next.
  6. In the Attribute Mapping window, set the User.Email category to Basic Information and the user field to Primary Email.
  7. (Optional) Add name attributes. Google can use name attributes to pass information to the Slack app during user authentication.
    1. In both cases, set the category to Basic Information.
    2. For the first name, set the user field to First Name.
    3. For the last name, set the user field to Last Name.
  8. Click Finish.
  9. In the Setting up SSO for Slack window, click OK. You need to set up SSO before setting up user provisioning.
Step 3: Enable the Slack SAML app

It can take up to 24 hours for this change to propagate to all users.

  1. From the Google Admin console dashboard, go to Apps SAML apps.
  2. Select Slack.
  3. At the top of the gray box, click More Settingsand choose:
    • On for everyone to turn on the service for all users (click again to confirm).
    • Off to turn off the service for all users (click again to confirm).
    • On for some organizations to change the setting only for some users.
  4. Verify that your Slack user account email IDs match those in your Google domain.
Step 4: Set up Slack as a SAML 2.0 service provider (SP)
  1. Sign in to Slack at https://your-team-name.slack.com/home. You’ll need to sign in as a Team owner or Admin to update your Slack authentication settings.
  2. Click Settings & Permissions.
  3. In the Settings & Permissions window, click the Authentication tab.
  4. Next to SAML authentication, click Configure.
  5. Confirm your password.
  6. In the Choose your SAML provider window, select Custom SAML 2.0 and then click Configure.
  7. From the Google Admin console dashboard, go to Security > Set up single sign-on (SSO).
  8. In the Set up single sign-on (SSO) window, copy the SSO URL and then paste it into the SAML 2.0 Endpoint (HTTP) box in Slack.
  9. Copy the Entity ID and then paste it into the Identity Provider Issuer box in Slack.
  10. Next to Certificate, click Download.
  11. Copy and paste the entire contents of the downloaded file into the Public Certificate box in Slack. This is an X.509 Certificate that’s required for SSO setup. You might need to rename the file extension to “.txt” so you can open the file with a text editor.
  12. Under Settings, indicate how authentication should be applied to your team.
  13. Click Save Configuration.
Step 6: Set up user provisioning

As a super administrator, you can automatically provision users in the Slack application.

Was this article helpful?
How can we improve it?
Sign in to your account

Get account-specific help by signing in with your G Suite account email address, or learn how to get started with G Suite.