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
- Go to the Slack API Portal.
- Click Create New App.
- Choose From scratch and provide an App Name and select the Development Slack Workspace.
- Click Create App.
- In the left sidebar, navigate to OAuth & Permissions.
- Under Redirect URLs, add the following redirect URL:
https://<tenant-name>.<region>.authaction.com/oauth2/login/callback
- Click Save URLs.
Step 2: Retrieve Client ID and Client Secret
- In the OAuth & Permissions section, copy the Client ID and Client Secret.
- These credentials will be used to configure Slack in AuthAction.
Step 3: Configure Slack Connection in AuthAction
- Log in to the AuthAction dashboard.
- Navigate to Connections → Social Connections.
- Click Add Connection and select Slack.
- Enter the Client ID and Client Secret obtained from Slack.
- Click Save.
Step 4: Enable Slack Connection for Applications
- In the AuthAction dashboard, navigate to Applications.
- Select the application for which you want to enable Slack login.
- Go to the Connections tab and enable the Slack connection.
Step 5: Test the Integration
- Open your application's login page.
- Click on Sign in with Slack.
- Authenticate using a Slack account.
- 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.