sending wrong scope for linkedin
fkhodamoradi opened this issue · comments
Farshad Khodamoradi commented
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();
});
Dries Vints commented
You'll need to use the open id provider: #662