Comments (4)
V2 is live
from meteor-accounts-linkedin.
OAuth2
from meteor-accounts-linkedin.
Hello,
Sorry to raise this issue again. My investigation shows that the package as it is currently it does not support the changes for V2 API of LinkedIn.
This means on March 1st 2019 the package will not be able to authenticate LinkedIn users.
I'm explaining:
According to this:
https://docs.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/migration-faq
LinkedIn will drop support for the r_basicprofile
permission. Its replacement will be the r_liteprofile
permission.
Currently if you use
Meteor.loginWithLinkedin({
requestPermissions: ['r_basicprofile', 'r_liteprofile', 'r_emailaddress']
}
everything works fine. You are able to login and also access V2 API (provided that your LinkedIn App has access to V2 API).
But if you drop the r_basicprofile
( which will be a requirement ), the authentication will not work. It fails with the error:
Error in OAuth Server: Failed to fetch identity from LinkedIn. failed [403] { "errorCode": 0, "message": "Access to site-standard-profile-request denied", "requestId": "******", "status": 403, "timestamp": ******** }
I20181228-14:10:57.479(2)? Exception while invoking method 'login' { Error: Failed to fetch identity from LinkedIn. failed [403] { "errorCode": 0, "message": "Access to site-standard-profile-request denied", "requestId": "*********", "status": 403, "timestamp": ********** }
I20181228-14:10:57.479(2)? at getIdentity (packages/pauli:linkedin-oauth/linkedin-server.js:116:11)
I20181228-14:10:57.479(2)? at Object.handleOauthRequest (packages/pauli:linkedin-oauth/linkedin-server.js:7:18)
I20181228-14:10:57.479(2)? at OAuth._requestHandlers.(anonymous function) (packages/oauth2/oauth2_server.js:10:33)
I20181228-14:10:57.480(2)? at middleware (packages/oauth/oauth_server.js:161:5)
I20181228-14:10:57.480(2)? at ********/.meteor/packages/promise/.0.11.2.1esmk5n.w6u9++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/meteor-promise/fiber_pool.js:43:40
I20181228-14:10:57.483(2)? message: 'Failed to fetch identity from LinkedIn. failed [403] { "errorCode": 0, "message": "Access to site-standard-profile-request denied", "requestId": "*******", "status": 403, "timestamp": *********** }' }
I think this issue needs to re-open.
Kind Regards
from meteor-accounts-linkedin.
Thx, will do updates in coming weeks
from meteor-accounts-linkedin.
Related Issues (20)
- How to user requestPermissions in Meteor.loginWithLinkedin HOT 5
- invalid redirect_uri. This value must match a URL registered with the API Key. HOT 6
- Name or email not showing, in UI. HOT 4
- OAuth Sever Error HOT 2
- linked in picture url HOT 1
- Error: No matching login attempt found HOT 1
- Unable to start meteor after pauli:accounts-linkedin HOT 3
- "loginWithService is not a function" @2.0.0 HOT 5
- There is an extra notice showing even when not needed HOT 1
- How to get access-token after login into the linkedin?
- Having difficulties using Meteor 1.6.1 HOT 6
- Package displaying in browser inspector credentials of login HOT 1
- Create option in configuration to return cleaned up data
- Option to ignore getImage function HOT 4
- Bad data on login HOT 1
- Error in OAuth Server: unauthorized_scope_error HOT 3
- Destructuring options parameter in linkedin-client when it's null or undefined HOT 1
- The passed in client_id is invalid "undefined" HOT 1
- Package doesnt work on Meteor 2.3.4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-accounts-linkedin.