Has anyone been able to successfully use LinkedIn as oAuth agent?

I think I’m stuck because something is wrong with the redirect uri

This is the error that I getThe redirect_uri does not match the registered value

  • I have created an app in linkedIn dev console
  • Populated Client Id/Secret in Corteza
  • Also enabled something called Sign In with LinkedIn using OpenID Connect, not sure if this was needed
  • Have tried a bunch of URI’s, this is the last one I tried https://app.domain.com/oauth/cb/oauth2

or idk if i need to give it like few hours after i update a uri to work?

1 Like

Can you try this pattern: https://domain.tld/auth/external/linkedin/callback

1 Like

Thanks @tjerman, this did took me a step forward where I am now atleast able to provide my LinkedIn creds.

But after entering the creds, I am being to taken a black screen saying SSO Error: linkedin responded with a 403 trying to fetch user profile

1 Like

Hm… I’d I guess we’re missing a scope or something? I’ll take a peek

Allrighty… I looked into this. Here is the TL;DR

LinkedIn deprecated the classic OAuth2 login in favour of OIDC. If your LinkedIn app is newer, you can not use OAuth2.
No problems cause we support OIDC login.
Turns out LinkedIn partially supports OIDC, so this feature is broken for new apps.

In short, prefer to use some other provider until this gets resolved. I can’t give you a timeline.
If you can, a pull request to address this would be welcome.

Thanks for the update. Would’ve been glad to work on this and a lot of other things only if I was a software dev, things would’ve been different if I was one.

1 Like

Is this new LinkedIn feature a blocker for you or can you use some other authentication provider?

Google is working fine for me

1 Like