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

sending wrong scope for linkedin #668

Closed
fkhodamoradi opened this issue Oct 13, 2023 · 2 comments
Closed

sending wrong scope for linkedin #668

fkhodamoradi opened this issue Oct 13, 2023 · 2 comments

Comments

@fkhodamoradi
Copy link

Socialite Version

5.9.1

Laravel Version

10.0

PHP Version

8.2

Database Driver & Version

No response

Description

for integrate with linkedin, this package send default scopes as : r_liteprofile, r_emailaddres

both of them have been change by linked in, the correct values is : profile, openid and email

Steps To Reproduce

Route::get('/redirect', function () {
return Socialite::driver('linkedin')
->scopes(['openid', 'profile', 'email'])
->redirect();
});

@RealMrHex
Copy link

same as #649

@driesvints
Copy link
Member

You'll need to use the open id provider: #662

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

3 participants