Skip to main content

Configuring Slack Social Connection in Production

This guide outlines the steps to configure Slack as a social login provider in AuthAction for a production environment.

Step 1: Create a Slack OAuth Application

  1. Go to the Slack API Portal.
  2. Click Create New App.
  3. Choose From scratch and provide an App Name and select the Development Slack Workspace.
  4. Click Create App.
  5. In the left sidebar, navigate to OAuth & Permissions.
  6. Under Redirect URLs, add the following redirect URL:
    https://<tenant-name>.<region>.authaction.com/oauth2/login/callback
  7. Click Save URLs.

Step 2: Retrieve Client ID and Client Secret

  1. In the OAuth & Permissions section, copy the Client ID and Client Secret.
  2. These credentials will be used to configure Slack in AuthAction.

Step 3: Configure Slack Connection in AuthAction

  1. Log in to the AuthAction dashboard.
  2. Navigate to ConnectionsSocial Connections.
  3. Click Add Connection and select Slack.
  4. Enter the Client ID and Client Secret obtained from Slack.
  5. Click Save.

Step 4: Enable Slack Connection for Applications

  1. In the AuthAction dashboard, navigate to Applications.
  2. Select the application for which you want to enable Slack login.
  3. Go to the Connections tab and enable the Slack connection.

Step 5: Test the Integration

  1. Open your application's login page.
  2. Click on Sign in with Slack.
  3. Authenticate using a Slack account.
  4. Verify that the user is successfully redirected back to your application.

Your application is now configured to allow users to log in using Slack in production.