Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LinkedIn deprecated OAuth login in favour of OIDC #519

Open
yktoo opened this issue Aug 25, 2023 · 6 comments
Open

LinkedIn deprecated OAuth login in favour of OIDC #519

yktoo opened this issue Aug 25, 2023 · 6 comments

Comments

@yktoo
Copy link

yktoo commented Aug 25, 2023

The deprecation notice:

This version of Sign In with LinkedIn has been deprecated as of August 1, 2023. For all Sign In with LinkedIn implementations going forward, please refer to Sign In with LinkedIn using OpenID Connect.

This leads to a change of scopes: instead of r_liteprofile, r_emailaddress only the following is now available:

  • oidc
  • profile
  • email

As a consequence, fetching profile in goth now fails with 403 Forbidden (here).

@techknowlogick
Copy link
Collaborator

Thanks for reporting this @yktoo

In this case, would changing the scopes in the code be sufficient, or would any API endpoints need to be updated?

@yktoo
Copy link
Author

yktoo commented Sep 6, 2023

No, I tried with the above scopes and that's what results in a 403. I'm not sure what else needs to be changed.

@trendamplifier
Copy link

I have this issue too, can verify what @yktoo said. Please advise.

@mritul
Copy link

mritul commented Sep 4, 2024

@techknowlogick I would like to know about this too. I am getting a 403 during the callback.

image

Here's my setup

image

@yktoo
Copy link
Author

yktoo commented Sep 4, 2024

I managed to successfully add LinkedIn login using the standard OIDC provider. In the end it turned out to be not that much different from other goth providers.

You may want to have a look at Comentario auth implementation and docs.

I believe the issue can be closed now.

@mritul
Copy link

mritul commented Sep 4, 2024

Thanks for the prompt response @yktoo! Will do so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants