linkedin-developers / linkedin-api-js-client

LinkedIn API JavaScript Client Library
Other
88 stars 20 forks source link

Having trouble getting access to the r_liteprofile scope #25

Open alanwunsche opened 1 year ago

alanwunsche commented 1 year ago

I followed the link and created an app.

Generate a 3-legged access token using the Developer Portal [token generator tool](https://www.linkedin.com/developers/tools/oauth/token-generator), selecting the r_liteprofile scope.

The r_liteprofile is not one of the 4 selections made available when creating a 3-legged access token?

alanwunsche commented 1 year ago

These are the only options that it shows me:

Select scopes:

openid Use your name and photo

profile Use your name and photo

w_member_social Create, modify, and delete posts, comments, and reactions on your behalf

email Use the primary email address associated with your LinkedIn account

timtoolboxx commented 1 year ago

I have the same problem. After creating my LI-App there is only "Sign In with LinkedIn using OpenID Connect" available unter the products tab, which doesn't offer the scope "r_liteprofile" needed by my Extly.com extension using on a Joomla website.

Dante690 commented 10 months ago

Hi i found some solution for this, plz check here https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696

alvarolorentedev commented 8 months ago

so seems those are the new profiles, and this library documentation is a bit out dated. What are you trying to do? in my case for getting the profile info i am not using the me route but the userinforoute.

shimizust commented 7 months ago

Hi @alanwunsche, I'm no longer on the team that maintains this, but there was a change to this Sign in With LinkedIn product. This was updated in the python library here: https://github.com/linkedin-developers/linkedin-api-python-client/commit/6331e52f5ea59b326447efa67a9bf925ed2d9ec7

@swathivshenoy Can you update the instructions for the js library?

swathivshenoy commented 7 months ago

[like] Swathi Shenoy reacted to your message:


From: Steven Shimizu @.> Sent: Wednesday, February 7, 2024 6:47:32 PM To: linkedin-developers/linkedin-api-js-client @.> Cc: Swathi Shenoy @.>; Mention @.> Subject: Re: [linkedin-developers/linkedin-api-js-client] Having trouble getting access to the r_liteprofile scope (Issue #25)

Hi @alanwunschehttps://github.com/alanwunsche, I'm no longer on the team that maintains this, but there was a change to this Sign in With LinkedIn product. This was updated in the python library here: @.***https://github.com/linkedin-developers/linkedin-api-python-client/commit/6331e52f5ea59b326447efa67a9bf925ed2d9ec7

@swathivshenoyhttps://github.com/swathivshenoy Can you update the instructions for the js library?

— Reply to this email directly, view it on GitHubhttps://github.com/linkedin-developers/linkedin-api-js-client/issues/25#issuecomment-1932662272, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASSSOAXE4EVLBIIBAMQT3ALYSPD4JAVCNFSM6AAAAAA3XQZJMGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZSGY3DEMRXGI. You are receiving this because you were mentioned.Message ID: @.***>

wisejayden commented 4 months ago

After running into the same issue I emailed the LinkedIn support team who informed me that the r_liteprofile scope is outdated.

"We no longer use r_liteprofile for sign in or auth. Please use the scope "profile" in your URL redirect requests."

Even after successfully authenticating some of the routes do not work, so I suppose this library is simply quite outdated.

herwaldt commented 2 months ago

As of July 2024, the readme for this repo is still out of date. For the three legged token, you need to request profile AND openId. Also, instead of calling /me for profile data it is /userinfo