Configuring LinkedIn Social Connection in Production
This guide outlines the steps to configure LinkedIn as a social login provider in AuthAction for a production environment.
Step 1: Create a LinkedIn OAuth Application
- Go to the LinkedIn Developer Portal.
- Click Create App.
- Fill in the required details:
- App Name: Your application name.
- LinkedIn Page: Choose the relevant LinkedIn page if applicable.
- App Logo: Upload your application's logo (optional).
- App Description: Provide a short description of your application.
- App Privacy Policy URL: Enter the URL to your privacy policy.
- App Terms of Service URL: Enter the URL to your terms of service.
- Click Create App.
Step 2: Retrieve Client ID and Client Secret
-
In the My Apps section, select the application you just created.
-
Copy the Client ID from the Auth tab.
-
Navigate to the Auth tab, and under OAuth 2.0 settings, click Add redirect URL.
-
Add the following redirect URL:
https://<tenant-name>.<region>.authaction.com/oauth2/login/callback
-
Under Client Secret, click Generate new client secret.
-
Copy the Client Secret (it will only be visible once).
Step 3: Configure LinkedIn Connection in AuthAction
- Log in to the AuthAction dashboard.
- Navigate to Connections → Social Connections.
- Click Add Connection and select LinkedIn.
- Enter the Client ID and Client Secret obtained from LinkedIn.
- Click Save.
Step 4: Enable LinkedIn Connection for Applications
- In the AuthAction dashboard, navigate to Applications.
- Select the application for which you want to enable LinkedIn login.
- Go to the Connections tab and enable the LinkedIn connection.
Step 5: Test the Integration
- Open your application's login page.
- Click on Sign in with Linkedin.
- Authenticate using a Linkedin account.
- Verify that the user is successfully redirected back to your application.
Your application is now configured to allow users to log in using LinkedIn in production.