You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Sign In with LinkedIn" is deprecated, use "Sign In with LinkedIn using OpenID Connect" instead
Linkedin changed its authentication method from Sign in with LinkedIn to Sign in with LinkedIn using OpenID Connect, since then the new app registered recently had this error.
So this changes has to be made on the LinkedIn Provider:
in services/config, change the linkedin scopes from whatever you have (probable ['r_emailaddress', 'r_liteprofile']) to, at least, these ones:
['openid', 'profile', 'email']
In LinkedInProvider.php file:
change the $scopes allowed
getByUserToken just need the basicProfile
getBasicProfile does not need extra PARAMS
getEmailAddress is not longer needed (it comes in the "userinfo" api method)
"Sign In with LinkedIn" is deprecated, use "Sign In with LinkedIn using OpenID Connect" instead
Linkedin changed its authentication method from Sign in with LinkedIn to Sign in with LinkedIn using OpenID Connect, since then the new app registered recently had this error.
So this changes has to be made on the LinkedIn Provider:
My new LinkedInProvider file is now like this:
Please, make the changes in the repository (after reviewing/updating/improving) so others can retrieve this new method.
Thank you !
P.D. Documentation here: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2
The text was updated successfully, but these errors were encountered: