Configuring provisioning for Slack

Use this task to provision users from Verify to a Slack application.

Before you begin

You need an access token that is generated from Slack. You need an OAuth access token to configure user provisioning in Verify.

About this task

Provisioning provides the following features.
Create new users
New users that are created through Verify are also created in the Slack application.
Delete users
Deactivating the user or disabling the user's access to the application through Verify deletes the user in the Slack application.
Modify user profile
Updates made to the user's profile through Verify are pushed to the third-party application.
User suspend and restore
Suspending a user through Verify deactivates the user and restoring the user through Verify activates the user in the Slack application.
User synchronization and remediation
User synchronization and remediation are supported only through APIs. Synchronization fetches all the Slack application users, creates the users on Verify, and according to the remediation policy, modifies the attributes.
Fine grained entitlement
Fine grained entitlement is not supported for the Slack application.

Procedure

  1. Log in as a workspace owner to your Slack account by using the following URL:
    https://<Slack host name>.slack.com
  2. To create a new Slack application, open the following URL:
    https://api.slack.com/apps?new_app=1
  3. Provide a meaningful name for App Name.
  4. Click Development Slack Workspace > Create App.
  5. Do one of the following procedures.
    • If you are using the Enterprise Grid plan,
      1. Navigate to Features > OAuth and Permissions,
      2. In the Bot Token Scopes section, click Add an OAuth Scope.
      3. Select any OAuth Scope from the drop-down list. For example, users:read.
      4. In the User Token Scopes section, click Add an OAuth Scope.
      5. Select admin from the drop-down list.
      6. Navigate to Features > Org Level Apps,
      7. In the Org apps program section, click Opt into Org Level Apps.
      8. Click Opt-in.
      9. Select the I understand that opting out of this feature cannot be easily done. Opting out will require submitting a request into Slack Help Center check box.
      10. Click Yes. Opt-in.
      11. If you want to use Public Distribution, perform the following steps:
        1. Navigate to Features > OAuth and Permissions.
        2. In the Redirect URLs section, click Add New Redirect URL.
        3. Add https://localhost/ as the redirect URL.
        4. Click Add.
        5. Click Save URLs.
        6. Navigate to Settings > Manage Distribution.
        7. In the Share Your App with Other Workspaces section, click Remove Hard Coded Information.
        8. Select the I've reviewed and removed any hard-coded information check box.
        9. Click Activate Public Distribution.
      12. Navigate to Settings > Install App.
      13. Click Install to Organization.
      14. Click Allow.
      15. In the OAuth Tokens for Your Team section, copy and store the values of OAuth Access Token.
    • If you are using the Plus plan,
      1. Navigate to Features > OAuth and Permissions.
      2. In the User Token Scopes section, click Add an OAuth Scope.
      3. Select admin from the drop-down list.
      4. Navigate to Settings > Install App.
      5. Click Install to Workspace.
      6. Click Allow.
      7. In the OAuth Tokens for Your Team section, copy and store the values of OAuth Access Token.
  6. The OAuth access token that is required to configure provisioning in Verify.