oauth-4-laravel
oauth-4-laravel copied to clipboard
Linkedin can't fetch email field
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)
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');