LinkedIn (Deprecated)
Overview
Adding social connection with LinkedIn to your app with Clerk is done in a few steps - you only need to set the Client ID, Client Secret and Authorized Redirect URI in your instance settings.
To make the development flow as smooth as possible, Clerk uses preconfigured shared OAuth credentials and redirect URIs for development instances - no other configuration is needed.
For production instances, you will need to generate your own Client ID and Client secret using your LinkedIn account.
Before you start
- You need to create a Clerk Application in the Clerk Dashboard. For more information, see the setup guide.
- You need to have a LinkedIn account. To create one, click here.
Configuring LinkedIn social connection
First, you need to create a new OAuth LinkedIn app.
You need to set a name, associate a LinkedIn page with it, and upload a logo for your new application.
In the Clerk Dashboard, navigate to the SSO connections page. Select the Add connection button, and select For all users. In the Choose provider dropdown, select LinkedIn.
Toggle on Use custom credentials and copy Authorized Redirect URI. Paste the value into the Redirect URL of your LinkedIn app, as shown below.
The last thing you have to do is to enable the Sign in with LinkedIn product for your OAuth application.
Copy the Application ID and Secret from the previous screen. Go back to the Clerk Dashboard and paste them into the respective fields.
Finally, select Add connection so that the settings are applied. Congratulations! Social connection with LinkedIn is now configured for your instance.
Feedback
Last updated on