oauth-4-laravel icon indicating copy to clipboard operation
oauth-4-laravel copied to clipboard

Linkedin can't fetch email field

Open JungSis opened this issue 9 years ago • 1 comments

When i'm using the linkedin connector.

I can't seem to get the email details of the login user.

I tried to add 'r_emailaddress' on the scope (configuration file) but the results is the same (no email field)

JungSis avatar Jul 08 '15 07:07 JungSis

You need to add the scope on linkedin side. You'll be able to access it once you have the access token. I think something like this:

$linkedinService->request('/people/~:(id,first-name,last-name,email-address)?format=json');

SystemR avatar Oct 25 '15 03:10 SystemR