Set up Sign in with LinkedIn

Bring your own LinkedIn app to AuthRobo, from creating the LinkedIn app to enabling the method in your dashboard.

Updated July 2, 2026

This walks through bring-your-own LinkedIn setup (Mode B). For a quick prototype you can skip all of this and just toggle LinkedIn on to use AuthRobo's shared app.

1. Create a LinkedIn app

  1. Go to the LinkedIn Developer portal and create an app (you'll need an associated LinkedIn Page).
  2. On the Products tab, add Sign In with LinkedIn using OpenID Connect.
  3. On the Auth tab, copy the Client ID and Client Secret.

2. Register AuthRobo's callback

Still on the Auth tab, under Authorized redirect URLs, add exactly:

https://authrobo.com/api/v1/auth/linkedin/callback

This is callback #1 — it points at AuthRobo, not your app. This is the step people most often get wrong.

3. Add your credentials to AuthRobo

In the AuthRobo dashboard, open your app → Sign-in methods → LinkedIn, paste the Client ID and Client Secret, and enable the method.

Scopes are handled for you: AuthRobo requests openid profile email.

4. Register your app's redirect URI

Add your own callback — where AuthRobo returns its code — to your app's allowed redirect URIs in the dashboard. This is callback #2:

https://yourapp.com/auth/callback

5. Send users to sign in

Use the drop-in button from @authrobo/react:

import { AuthRoboButton } from "@authrobo/react";

<AuthRoboButton provider="linkedin" />

…or link straight to the hosted flow: https://authrobo.com/api/v1/auth/linkedin/start?client_id=…&redirect_uri=….

Troubleshooting

  • "redirect_uri does not match" on LinkedIn → callback #1 in your LinkedIn app doesn't exactly equal https://authrobo.com/api/v1/auth/linkedin/callback. Check for a trailing slash or http vs https.
  • AuthRobo rejects the return → callback #2 isn't in your app's allowed redirect URIs in the dashboard.
  • Consent screen says "AuthRobo" → you're still on the shared app; add your own credentials (step 3) to show your brand.
Ready to build? Create your app → or browse the API reference.