LinkedIn is the connector for B2B products: the identity carries a work email and a professional profile, and users treat it as the natural choice on a business sign-up page.
Copy the redirect URI
In the Authdog console, select the project and environment, open Authentication > Providers, find LinkedIn, and click Enable. Copy the redirect URI shown in the form:
https://identity.authdog.com/api/v1/callback/<connectionId>Create the LinkedIn app
- Open the LinkedIn Developer Portal and select Create app.
- Fill in the app name, the LinkedIn Page it belongs to, and a logo.
- Verify the app from the Settings tab — an admin of the associated LinkedIn Page must approve it. Nothing works until this is done.
- Open the Products tab and request Sign In with LinkedIn using OpenID Connect.
- Open the Auth tab, and under Authorized redirect URLs for your app, paste the redirect URI from Authdog.
- Copy the Client ID and Client Secret from the same tab.
Configure Authdog
| Field | Value |
|---|---|
| Client ID | From the Auth tab |
| Client Secret | From the Auth tab |
Save, then toggle the connection active.
What LinkedIn returns
Authdog requests r_emailaddress r_liteprofile and reads the profile from LinkedIn's v2 API, with the email fetched from a second endpoint — LinkedIn splits identity across /v2/me and /v2/emailAddress.
Two limits are worth knowing before you build on this data:
- The profile is deliberately thin. Name, identifier, and profile picture; no headline, company, or position without additional products and review.
- The email is the address on the LinkedIn account, which for many users is personal rather than corporate. Do not treat a LinkedIn sign-in as proof of employment at a given company.
LinkedIn periodically revises its API products and scope names. If sign-in breaks after working for months, check the Products tab first — a product may have been deprecated or need re-requesting.
Test it
- Open your environment's hosted sign-in page, or link to
https://identity.authdog.com/api/v1/signin/<connectionId>. - Select Continue with LinkedIn and authorize.
- Confirm the user appears under Users with an email address attached.
Troubleshooting
| Symptom | Cause |
|---|---|
unauthorized_scope_error |
The Sign In product is not approved on the app |
The redirect_uri does not match the registered value |
The URI is missing from Authorized redirect URLs |
| App stuck unverified | The associated LinkedIn Page admin has not completed the verification link |
| No email returned | The email endpoint call was refused — confirm the requested products cover email |
Related
| Read | To learn how to |
|---|---|
| Connectors | Set up any other social provider |
| Enterprise SSO | Sign in employees through their employer's identity provider instead |