Introduction
LinkedIn Social Login allows users to seamlessly log in or register on your BuddyBoss Platform (Web and App) using their LinkedIn accounts.
This guide provides step-by-step instructions on enabling and configuring LinkedIn Social Login, enhancing user convenience while simplifying account management.
Prerequisites and Key Considerations
App Publishing Requirements
- If you enable Social Login in the BuddyBoss App, both Google and Apple Social Logins are required for publishing on app stores. This is mandatory even if other social providers (e.g., LinkedIn, Facebook, X) are used, ensuring compatibility with device-associated accounts.
- Google and Apple Social Logins are optional only if the BuddyBoss App exclusively uses your company’s account sign-in system.
Required Information for LinkedIn Social Login
To enable LinkedIn Social Login, you need the following details:
- Client ID
- Client Secret
Creating a LinkedIn App for Social Login
Follow the steps below to create a LinkedIn App and obtain the required Client ID and Client Secret for integrating LinkedIn Social Login with your BuddyBoss Platform.
Step 1: Access LinkedIn Developer Portal
- Navigate to the LinkedIn Developer Portal.
- Log in using your LinkedIn credentials.
- Click on the Create App button.
Step 2: Enter App Details
- You will be directed to the Create an App page.
- Fill in the following fields:
- App Name: Enter the name of your app.
- LinkedIn Page: Link to a LinkedIn Company Page.
- If you don’t have one, create it at LinkedIn Company Setup.
- Privacy Policy URL: Provide a link to your website’s privacy policy.
- App Logo: Upload an App Logo (recommended size: 100x100px).
- Read and agree to the API Terms of Use.
- Click Create App to proceed.
Step 3: Request Access for LinkedIn Login
- You will be directed to the Products tab.
- If not, manually navigate to the Products tab from the top menu.
- Under Sign In with LinkedIn using OpenID Connect, click Request Access.
- In the pop-up modal:
- Check the I have read and agree to these terms checkbox.
- Click Request Access.\
Step 4: Configure OAuth 2.0 Settings
- Navigate to the Auth tab from the top menu.
- Under OAuth 2.0 Settings, click the pencil icon.
Click on Add Redirect URL and enter the following URL: https://yourdomain.com/wp-login.php?bb_social_login=linkedin
- Alternatively, you can get this URL from:
- WordPress Dashboard > BuddyBoss Plugin > Settings > General > Registration.
- Click the pencil icon next to LinkedIn and copy the Callback URI / Redirect URL.
- Click Update to save the changes.
Step 5: Obtain Client ID and Client Secret
- In the Auth tab, navigate to the Application Credentials section.
- Under Authentication Keys, you will find:
- Client ID
- Client Secret
- Copy the Client ID and Client Secret.
- Keep this information secure as you will need it to complete the setup on your BuddyBoss Platform.
Step 6: Complete Setup in BuddyBoss Platform
- Go to your WordPress Dashboard.
- Navigate to BuddyBoss Plugin > Settings > General > Registration.
- Click the pen icon next to LinkedIn Social Login.
- Paste the copied Client ID and Client Secret into the respective fields.
- Click Save Changes.
Step 7: Verify and Enable LinkedIn Social Login
- After clicking Save Changes, a pop-up for LinkedIn Login will appear.
- Sign in using your LinkedIn credentials.
- On the Authorize App page, click Allow.
Once verified, a message will appear: Settings have been verified. Please wait while we redirect you.
- You can now enable the LinkedIn Social Login checkbox.
- Click Save Settings to finalize.
Troubleshooting and FAQs
Q: Why is the LinkedIn Social Login not appearing on my site?
A: Ensure Enable Social Login is checked in BuddyBoss Settings. Verify that the Client ID and Client Secret are correctly entered and saved.
Q: Why am I seeing an error when logging in with LinkedIn?
A: Confirm that the Authorized Redirect URL is correctly entered and matches the URL set in BuddyBoss Settings. Double-check the Client ID and Client Secret for accuracy.
Q: Why is the LinkedIn Social Login checkbox greyed out?
A: Click the pencil icon next to LinkedIn Social Login and select Verify Settings to ensure all configurations are correct.