Open jeerbl opened 7 years ago
Were you able to get a resolution on this?
@IrvBriscoe You might take a look at the end of this thread. It works for me. https://github.com/auth0/passport-linkedin-oauth2/issues/24
Yes @itsheng , @IrvBriscoe and @jeerbl . The solution to the problem is at the end of https://github.com/auth0/passport-linkedin-oauth2/issues/24. I was working for 6 months in a project in suddently yesterday, around 7PM GMT. LinkedIn started crashing and I panicked. But it's now solved.
I have the same problem I tested @andrerpena all cases buy still fails.
@Rikhart I had the same problem. Some profile fields for some users make the LinkedIn DB fail. Instead of asking for all fields in each scope, you can cherry-pick which field you need, and try to avoid the fields that make the oauth2 fail. That's still a pain as those fields may vary from one user to the other, but by restricting the oauth2 to just what you need, this helps to mitigate the issue. To cherry-pick those fields, use the sample described in this answer:
https://github.com/auth0/passport-linkedin-oauth2/issues/24#issuecomment-358489355
Hope this helps. Good luck with LinkedIn ;)
One of the reason is that LinkedIn has changed its permission type, now there is no basic profile One have to use r_liteprofile
instead of r_basicprofile
.
API scope should be r_emailaddress r_liteprofile'
Passport: 0.3.2 Passport LinkedIn OAuth2: 1.5.0
Hello,
I am getting this error
When some of our users try to log in via LinkedIn. I am requesting only
r_emailaddress
andr_basicprofile
. The user gets to the LinkedIn login page, logs in and then this error is sent back;It happens only for some users, not all.
Do you have any idea where this might come from?
Thanks, Jerome