Docs / Passwordless & social login

Login with LinkedIn

Create a LinkedIn app with Sign In with LinkedIn using OpenID Connect and connect it to FluentAuth, step by step.

All documentation

LinkedIn sign-in suits professional sites: B2B stores, job boards, member directories and communities. It needs an app in the LinkedIn Developer Portal with the Sign In with LinkedIn using OpenID Connect product added. LinkedIn changes its portal from time to time; the names below are current as of 2026.

You need a LinkedIn Page for your business before you start. LinkedIn ties every app to a Page, and an admin of that Page has to approve the link.

1. Create the app

  1. Open the LinkedIn Developer Portal and sign in.
  2. Click Create app and fill in:
    • App name: your site’s name, shown on LinkedIn’s consent screen.
    • LinkedIn Page: your business’s Page.
    • Privacy policy URL: your site’s privacy page.
    • App logo: shown on the consent screen.
  3. Accept the terms and click Create app.

2. Verify the app

On the Settings tab, click Verify next to your Page and send the link to an admin of that Page. Once they approve it, the app shows as verified. If you are the Page admin, you can approve it yourself.

3. Add Sign In with LinkedIn

On the Products tab, find Sign In with LinkedIn using OpenID Connect and click Request access. It is granted straight away. This is what lets FluentAuth ask for the user’s name and email address.

4. Add the redirect URL

  1. In WordPress, open FluentAuth → Settings → Social Login and turn on the switch on the LinkedIn card. The card shows the Redirect URL. It looks like this:

    https://example.com/wp-login.php?fs_auth=linkedin
  2. In the LinkedIn portal, open the Auth tab. Under OAuth 2.0 settings → Authorized redirect URLs for your app, click Add redirect URL, paste the URL exactly as FluentAuth shows it, and click Update.

5. Connect it to FluentAuth

On the same Auth tab, copy the Client ID and the Primary Client Secret. Paste them into LinkedIn Client ID and LinkedIn Client Secret on the LinkedIn card, or add them to wp-config.php:

define('FLUENT_AUTH_LINKEDIN_CLIENT_ID', '…');
define('FLUENT_AUTH_LINKEDIN_CLIENT_SECRET', '…');

Save. A Login with LinkedIn button now appears under your login forms, and Signup with LinkedIn under your signup forms.

Verified email only

FluentAuth matches a LinkedIn sign-in to a WordPress account by email address. It only accepts an address that LinkedIn has verified. A LinkedIn member whose primary email is not verified sees Your LinkedIn email address is not verified and is not signed in. They can verify the address in their LinkedIn settings and try again, or sign in another way.

If someone clicks Cancel on LinkedIn’s consent screen, they come back to your login page.

Common errors

LinkedIn or FluentAuth saysCause
The redirect_uri does not match the registered valueThe redirect URL on the Auth tab is missing, or differs from the one FluentAuth shows (http instead of https, www or not, a different path)
Scope "openid" is not authorized for your applicationSign In with LinkedIn using OpenID Connect has not been added on the Products tab
Your LinkedIn email address is not verifiedThe member’s primary email is not verified on LinkedIn
Sorry! we could not authenticate you via LinkedInThe sign-in took too long or was started in another tab. Start again from the login page