LinkedIn login setup
This page explains how to add LinkedIn's sign-in service to your applications to allow customers to log in with their LinkedIn identities.
Objective
By integrating with LinkedIn’s sign-in service, you allow customers to log into your application with their existing LinkedIn identities.
Overview
Strivacity's support for social authentication and registration allows you to easily establish a trusted relationship between your applications and various social identity providers.
![Social login providers](https://files.readme.io/0b149ca-image.png)
Social provider add-ons in the Admin Console come with many client-side configurations out of the box to make integration as painless as possible:
- autodiscovery URL with automatic endpoint collection
- pre-defined scopes for the essential requests
- pre-configured claim mappings to obtain and synchronize relevant social profile attributes
- continuous customer data synchronization
Prerequisites
General
- General understanding of the OIDC Authorization Code Flow grant type
- A test application where you can apply and test the LinkedIn social provider
To demonstrate the integration process, the test application will be Strivacity's customer self-service management utility. The process will look mostly the same for any other application.
LinkedIn
- Existing LinkedIn identity
- LinkedIn Developers Platform
- New LinkedIn application
- Client ID and Secret of the application
Strivacity
- Up-and-running Strivacity instance
- Redirect URI where customers are redirected after successful authentication: https://<yourStrivacityinstanceID>.strivacity.com/provider/continue
- Test application to test the social provider
- The application's self-service URL for reference
Configuration steps
Creating a LinkedIn app for integration
-
Access LinkedIn’s developer portal.
-
Click ‘Create app’ to create a new application.
You will be redirected to the ‘Create an app’ page.
- Fill in the required fields:
- Name your new app
- Add your brand’s LinkedIn company page
Your LinkedIn Page Admin can verify the association with your app later. Your LinkedIn app can still be used for providing social login without a verified company page.
Optional You can provide a URL to your brand’s Privacy Policy.
- Add a logo to the app
- Accept LinkedIn’s API Terms of Use to continue
- Click ‘Create app’ once you’ve completed the fields.
You will land on the 'Settings' tab of your new application.
Managing app settings
- Go to the ‘Auth’ tab
- Capture the Client ID and Secret from ‘Authentication keys’
- Add a redirect URL at ‘OAuth 2.0 settings’
The redirect URL consists of your Strivacity instance ID and the following endpoint: [https://**\](https://**\)**.strivacity.com/provider/continue
You can review the available scopes at the bottom of the page.
Configuring LinkedIn sign-in
-
Go to the ‘Products’ tab.
-
Select ‘Sign In with LinkedIn’ at the additional available products.
You will be asked to accept LinkedIn’s terms for using this product for the relevant use-case.
- Click ‘Add product’.
You’re all set for adding LinkedIn’s sign-in experience to your applications.
Adding LinkedIn as a social login provider
-
In the Strivacity Admin Console, navigate to External Login > Social Login.
-
Click ‘Create Social Login Provider’.
![Social login provider](https://files.readme.io/49b2b89-image.png)
- Select ‘LinkedIn’ from the list of available social provider capabilities.
![Create social login provider](https://files.readme.io/cdd6da2-image.png)
- Paste the Client ID and Secret you’ve previously obtained from your LinkedIn application.
![LinkedIn social login provider setup](https://files.readme.io/ec7f613-image.png)
The scopes that your Strivacity application will request are already defined. For more information about the scopes of LinkedIn’s sign-in service, visit this page.
-
Enable Synchronize and store profile data at each login to ensure customer data is kept up-to-date inside your application.
-
Click ‘Save’ to add the LinkedIn social provider.
Claim mappings are automatically handled for social login providers after saving.
![Claim mappings screen](https://files.readme.io/f9e7fe9-image.png)
Adding LinkedIn sign-in capability to your application
Follow the steps described in this guide to add a social login provider to an application
Testing your social login provider
-
Copy the self-service URL of your application.
-
Open an incognito window or launch another browser.
-
Go to the self-service login page of your application using the application’s link.
-
Click ‘Continue with LinkedIn’ to sign in with your LinkedIn identity.
![LinkedIn social login provider on login flow](https://files.readme.io/460697e-image.png)
In case of successful setup, after authentication, you should be asked to allow permission to your basic profile information and email address in your LinkedIn account.
Updated 10 days ago