Slack

Before You Begin

Introduction

This document describes how to configure Oracle Identity Cloud Service to provide Single Sign-On (SSO) for Slack using SAML.

For accessing the procedures in this document as a video, see Integrating Slack with Oracle Identity Cloud Service.

About Slack

Slack is used for cloud-based team collaboration. It is meant for teams and workplaces, and can be used across multiple devices and platforms. It is equipped with robust features that allow users to not only chat one-on-one with associates but also in groups.

After integrating Slack with Oracle Identity Cloud Service:

  • Users can access Slack using their Oracle Identity Cloud Service login credentials.
  • Users can start Slack using the Oracle Identity Cloud Service My Apps console.
  • Admins can assign and revoke user access to the Slack app using the Oracle Identity Cloud Service administration console.

What Do You Need?

  • An Oracle Identity Cloud Service account with authorization rights to manage apps and users (Identity Domain Administrator or Application Administrator).
  • A Slack account with authorization rights to configure federated authentication.
  • Make sure that the email ID of each user in Slack matches the primary email ID of the Oracle Identity Cloud Service account.

Configuring the Slack App in Oracle Identity Cloud Service

Use this section to register and activate the Slack app, and then assign users to the app.

Prerequisite Step

A dedicated team domain is required before you can register and activate the Slack app.

The team domain appears in the Slack login URL: https://<Team_Domain>.slack.com that you received in an email from Slack.

Registering and Activating the Slack App

  1. Access the Oracle Identity Cloud Service Administration console, select Applications, and then click Add.

  2. Click App Catalog.

  3. Search for Slack, and then click Add.

  4. In the App Details section, enter your Slack Team Domain, and then click Next.

    Note: This is the team domain value that you obtained while performing the steps in the "Prerequisite Step" section.

  5. Click Download Signing Certificate.

    Tip: Use this file later during the Slack configuration in the "Configuring SSO for Slack" section.

  6. Click Download Identity Provider Metadata. To learn about other methods you can use to access SAML metadata, see Access SAML Metadata.

    Tip: Use this file later during the Slack configuration in the "Configuring SSO for Slack" section.

  7. Click Finish. Oracle Identity Cloud Service displays a confirmation message.

  8. Click Activate, and then click Activate Application. Oracle Identity Cloud Service displays a confirmation message.

Assigning Users to the Slack App

  1. On the Slack app page in Oracle Identity Cloud Service, select Users, and then click Assign. The Assign Users window appears.

  2. Select users that you want to assign to Slack, and then click OK. Oracle Identity Cloud Service displays a confirmation message stating that the Slack app is assigned to the users that you selected.

Configuring SSO for Slack

  1. Access Slack using the URL: https://<Team_Domain>.slack.com. The Sign in page appears.

  2. Click Enter email and password, and then login as an administrator.

  3. Expand the user menu in the upper-left corner, and then select Workplace settings.

  4. On the Settings & Permissions page, select the Authentication tab, and then click Change Settings in the SAML Authentication Settings section.

  5. On the Configure SAML Authentication page, use the table to update the federated authentication attributes, and then click Save Configuration.

    This table lists the mandatory federated authentication attributes that you must set to complete the SSO configuration.
    Attribute Value
    SAML 2.0 Endpoint (HTTP) Enter the Sign-in URL/SSO Endpoint: https://<IDCS-Service-Instance>.identity.oraclecloud.com/fed/v1/idp/sso.
    Identity Provider Issuer Enter the Entity ID/Issuer URL. Use the metadata file that you downloaded earlier to obtain the Entity ID/Issuer URL. The Entity ID/Issuer URL information is located in the first line of the metadata. See the "Registering and Activating the Slack App" section.
    Public Certificate Click edit, and then paste the certificate that you downloaded during the Slack registration in Oracle Identity Cloud Service. See the "Registering and Activating the Slack App" section.

Verifying the Integration

Use this section to verify that SSO works when initiated from Oracle Identity Cloud Service (IdP Initiated SSO) and Slack (SP initiated SSO).

Verifying Identity Provider Initiated SSO from Oracle Identity Cloud Service

  1. Access the Oracle Identity Cloud Services My Profile console using the URL: https://<IDCS-Service-Instance>.identity.oraclecloud.com/ui/v1/myconsole.

  2. Log in using credentials for a user that is assigned to the Slack app. Oracle Identity Cloud Service displays a shortcut to Slack under My Apps.

  3. Click Slack. The Slack home page appears.

  4. On the Slack home page, confirm that the user that is logged in is the same for both Slack and Oracle Identity Cloud Service. The user name is located in the left navigation menu.

    This confirms that the SSO initiated from Oracle Identity Cloud Service works.

Verifying Service Provider Initiated SSO from Slack

  1. Access Slack using the URL: https://<Team_Domain>.slack.com. The Sign in page appears.

  2. Click Sign in with SAML. You are redirected to the Oracle Identity Cloud Service login page.

  3. Log in using credentials for a user that is assigned to the Slack app. The Slack home page appears.

  4. On the Slack home page, confirm that the user that is logged in is the same for both Slack and Oracle Identity Cloud Service. The user name is located in the upper-left corner of the page.

    This confirms that SSO that is initiated from Slack works.

Troubleshooting

Use this section to locate solutions to common integration issues.

Known Issues

Slack displays the message, "Let's Set up your account."

Cause: The email attribute sent by Oracle Identity Cloud Service during SSO doesn't match any existing user in Slack.

Solution: Ensure that the user that you assign to the Slack app has an account in both Oracle Identity Cloud Service and Slack with the same email address.

Oracle Identity Cloud Service displays the message, "You are not authorized to access the app. Contact your system administrator."

Cause 1: The SAML 2.0 integration between the Oracle Identity Cloud Service Slack app and Slack is deactivated.

Solution 1:

  • Access the Oracle Identity Cloud Service administration console, select Applications, and then select Slack.
  • In the App Details section, click Activate, and then click Activate Application. Oracle Identity Cloud Service displays a confirmation message.

Cause 2: The administrator revokes access for the user at the same time that the user tries to access the Slack app using Oracle Identity Cloud Service.

Solution 2:

  • Access the Oracle Identity Cloud Service administration console, select Applications, and then select Slack.
  • In the App Details section, select Users, and then click Assign to re-assign the user.

Unknown Issues

For unknown issues, contact Oracle Support:

  1. Go to https://support.oracle.com.

  2. Select Cloud Support, and then sign in with your support credentials.

  3. In the Cloud Dashboard, confirm that there are no planned outages in Oracle Identity Cloud Service, and then click Create Service Request.

  4. Select Oracle Identity Cloud Service as the service type.

  5. Complete your service request.