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 provider: get user data #656

Closed
Gerbenodk opened this issue Aug 28, 2023 · 7 comments · Fixed by #662
Closed

Linkedin provider: get user data #656

Gerbenodk opened this issue Aug 28, 2023 · 7 comments · Fixed by #662

Comments

@Gerbenodk
Copy link

Socialite Version

5.8.1

Laravel Version

10.41.0

PHP Version

8.1.4

Database Driver & Version

No response

Description

Yesterdays issue had the wrong version of socialite.

LinkedIn updated their products and deprecated the product "Sign In with LinkedIn" and changed it to "
Sign In with LinkedIn using OpenID Connect"
, as of the 1 aug 2023. When using Socialite::driver('linkedin')->stateless()->user(); the API endpoint /me has not enough permissions, the new endpoint is: /v2/userinfo with scope 'openid'.

Steps To Reproduce

Install latest version of both this package as Laravel

@sinarahmany
Copy link

sinarahmany commented Aug 29, 2023

Thats right. I`m having the same issue

@github-actions
Copy link

Thank you for reporting this issue!

As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub.

If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team.

Thank you!

@avdheshsolanki
Copy link

Yes was struggling the same issue from last two days, looking for the solution.

@sajaddp
Copy link

sajaddp commented Aug 30, 2023

I have the same problem.
In my opinion, if the problems of #651 are fixed to pass the tests, it will be faster than creating a new PR.

@paulocastellano
Copy link

+1

@driesvints
Copy link
Member

Hi all. We'd appreciate a PR to master to implement the new LinkedIn way of doing things.

@driesvints
Copy link
Member

Hi all. There's a PR up now. Can you all help us verify that it works for you? #660

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

Successfully merging a pull request may close this issue.

7 participants