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

Updated LinkedIn's default scope #114

Merged
merged 1 commit into from Jul 14, 2015
Merged

Updated LinkedIn's default scope #114

merged 1 commit into from Jul 14, 2015

Conversation

@PaulMougel
Copy link
Contributor

PaulMougel commented Jul 9, 2015

Starting from May 12th, 2015, Linkedin's policy has changed: access to members' full profile and contact information has been restricted to Linkedin partners.

https://developer.linkedin.com/blog/posts/2015/developer-program-changes

To keep up to date with these recent changes, the default scope has been updated to information available to every application: users' basic profile and email address.

If one still wants to use the old scope (i.e. your application is part of Linkedin's partnership program), please configure the strategy's scope:

server.auth.strategy('linkedin', 'bell', {
  provider: 'linkedin',
  password: '',
  clientId: '',
  clientSecret: '',
  scope: ['r_fullprofile', 'r_emailaddress', 'r_contactinfo']
});

I believe that this is a breaking change, as the information retrieved by the application is not the same as before.
However, the LinkedIn provider previously didn't work at all, so I guess this is better than nothing!

Starting from May 12th, 2015, Linkedin's policy has changed: access to members' full profile and contact information has been restricted to Linkedin partners.

https://developer.linkedin.com/blog/posts/2015/developer-program-changes

To keep up to date with these recent changes, the default scope has been updated to information available to every application: users' basic profile and email address.

If one still wants to use the old scope (i.e. your application is part of Linkedin's partnership program), please configure the strategy's scope:

  server.auth.strategy('linkedin', 'bell', {
    provider: 'linkedin',
    password: '',
    clientId: '',
    clientSecret: '',
    scope: ['r_fullprofile', 'r_emailaddress', 'r_contactinfo']
  });
@geek geek self-assigned this Jul 14, 2015
@geek geek added this to the 4.1.0 milestone Jul 14, 2015
geek added a commit that referenced this pull request Jul 14, 2015
Updated LinkedIn's default scope
@geek geek merged commit 9559c79 into hapijs:master Jul 14, 2015
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.