# The LinkedIn login is deprecated; updating to the new scopes is necessary!

**URL:** <https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696>\
**Category:** Get Help\
**Tags:** third-party-service, outage\
**Created:** [August 15, 2023, 7:44pm UTC](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696 "2023-08-15T19:44:15Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![bjorn](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bjorn/32/51513_2.png) [@bjorn](https://community.auth0.com/u/bjorn)\
**Post date:** [October 9, 2023, 10:11am UTC](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696/23 "2023-10-09T10:11:32Z")

</div>

Hi, I’ve tried to sign in with LinkedIn using Azure AD B2C. However, it’s not working because the scopes are incorrect. I received this error message:

> Scope “r\_emailaddress” is not authorized for your application

The LinkedIn helpdesk referred me to StackOverflow, which led me to this topic. Unfortunately, it seems that there is no solution yet…

---

<div class="post-metadata">

**Author:** ![nelson2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nelson2/32/57047_2.png) [@nelson2](https://community.auth0.com/u/nelson2)\
**Post date:** [October 9, 2023, 3:41pm UTC](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696/24 "2023-10-09T15:41:00Z")

</div>

Hello,  
Honestly, I didn’t understand what product you are developing because OAuth 2.0 ([OAuth 2.0 — OAuth](https://oauth.net/2/)) is the protocol itself.

The importance of logging in with LinkedIn is not based on metadata obtained by logging in with it, but rather on the authorization to use the data downloaded from other automations. Therefore, Google would not be an option for us.

---

<div class="post-metadata">

**Author:** ![nelson2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nelson2/32/57047_2.png) [@nelson2](https://community.auth0.com/u/nelson2)\
**Post date:** [October 9, 2023, 3:44pm UTC](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696/25 "2023-10-09T15:44:30Z")

</div>

Hello, have you tried using the custom social connection that @ty.frith mentioned above?

I hope that the people in charge of the matter can provide some updates and avoid remaining silent again.

---

<div class="post-metadata">

**Author:** ![m2makamaestro](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/m2makamaestro/32/49841_2.png) [@m2makamaestro](https://community.auth0.com/u/m2makamaestro)\
**Post date:** [October 9, 2023, 5:27pm UTC](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696/26 "2023-10-09T17:27:10Z")

</div>

Hi thanks for your response.  
For clarification, correct me if I am wrong here  
By other automation you meant other LinkedIn api endpoints? Or something else

If it’s the other endpoints, as far I have checked it’s restricted and not made available for general user only LinkedIn authorised developers can use it

---

<div class="post-metadata">

**Author:** ![nelson2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nelson2/32/57047_2.png) [@nelson2](https://community.auth0.com/u/nelson2)\
**Post date:** [October 9, 2023, 7:31pm UTC](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696/27 "2023-10-09T19:31:38Z")

</div>

I’m referring to other companies that specialize in downloading information from LinkedIn. You can find several on Google that offer this service.

---

<div class="post-metadata">

**Author:** ![nelson2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nelson2/32/57047_2.png) [@nelson2](https://community.auth0.com/u/nelson2)\
**Post date:** [October 11, 2023, 6:09pm UTC](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696/28 "2023-10-11T18:09:06Z")

</div>

Hello @ty.frith , how are you?

It’s been almost 2 months since the error was originally posted.  
Any updates?

Cheers.

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [October 11, 2023, 7:19pm UTC](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696/29 "2023-10-11T19:19:14Z")

</div>

Hey @nelson2 and all - Sorry for the delayed response here!

Unfortunately, the scope of this has evolved to be larger than initially expected. We are still working on an updated version of the connection but as of now I do not have an ETA. My previous response detailing the current workaround still stands:

> [@The LinkedIn login is deprecated; updating to the new scopes is necessary!](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696/6):
>
> Hey there @nelson2, totally understandable! I’m still waiting for confirmation of a timeframe from engineering - In the meantime there is a workaround to get social login with LinkedIn working if you are interested: Basically, you can create a custom social connection configured to use LinkedIn. [Create the custom social connection](https://auth0.com/docs/authenticate/identity-providers/social-identity-providers/oauth2). Use the following values: Add the following code to Fetch User Profile Sript: function(accessToken, ctx, cb) { request.get('h…

Thanks a bunch for your patience 🙏

---

<div class="post-metadata">

**Author:** ![adam23](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/adam23/32/48638_2.png) [@adam23](https://community.auth0.com/u/adam23)\
**Post date:** [October 12, 2023, 12:44pm UTC](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696/30 "2023-10-12T12:44:58Z")

</div>

Why is this such a large fix? If you were able to update the LinkedIn config to let us override the default scopes that are used when redirecting, the rest should work just fine. We are actively looking into Supabase Auth which does have this support. Unfortunate because we are already setup with Auth0 and this is a major waste of time and resources. Killing Auth0’s reputation with this one!

---

<div class="post-metadata">

**Author:** ![m2makamaestro](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/m2makamaestro/32/49841_2.png) [@m2makamaestro](https://community.auth0.com/u/m2makamaestro)\
**Post date:** [October 15, 2023, 6:54am UTC](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696/31 "2023-10-15T06:54:49Z")

</div>

I believe that major scopes are deprecated for normal users, and therefore users are blocked from accessing any other API (which is actually such a big breaking change, just like how Twitter made theirs), and they intend to keep it that way, maybe verified devs would be able to with paid service.

---

<div class="post-metadata">

**Author:** ![david45](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/david45/32/50582_2.png) [@david45](https://community.auth0.com/u/david45)\
**Post date:** [October 19, 2023, 4:28pm UTC](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696/32 "2023-10-19T16:28:07Z")

</div>

We’re having the same issue. Is there any update?

Thank you

---

<div class="post-metadata">

**Author:** ![nelson2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nelson2/32/57047_2.png) [@nelson2](https://community.auth0.com/u/nelson2)\
**Post date:** [November 6, 2023, 4:26pm UTC](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696/33 "2023-11-06T16:26:00Z")

</div>

> [@nelson2](#):
>
> Hello @ty.frith , how are you?
> 
> It’s been almost 2 months since the error was originally posted.  
> Any updates?
> 
> Cheers.

Hello @ty.frith , how are you?

It’s been almost 3 months since the error was originally posted.  
Any updates?

Cheers.

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [November 6, 2023, 11:22pm UTC](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696/34 "2023-11-06T23:22:09Z")

</div>

Hey @nelson2, sorry for the delayed response here!

The updated (v3) version of the LinkedIn connection has been released and was shared as a notification in the Support Center:

> **[Auth0 Support Center](https://support.auth0.com/notifications/6532fe61cd1517b4fe7ed1d2)**
>
> Auth0 Support Center

---

<div class="post-metadata">

**Author:** ![nelson2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nelson2/32/57047_2.png) [@nelson2](https://community.auth0.com/u/nelson2)\
**Post date:** [November 7, 2023, 2:15pm UTC](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696/35 "2023-11-07T14:15:24Z")

</div>

Hello @ty.frith  
For some reason, no one on the team received the notification.

Thank you very much, now we’re going to try it!

Cheers.

---

<div class="post-metadata">

**Author:** ![ignaciodm](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@ignaciodm](https://community.auth0.com/u/ignaciodm)\
**Post date:** [November 13, 2023, 1:15am UTC](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696/36 "2023-11-13T01:15:24Z")

</div>

Hey @ty.frith,

I have been trying the new linkedin strategy (v3), and I think is buggy. Hopefully you can let me know if I am doing anything wrong.

I am having an issue and that is that the email from LinkedIn is not being retrieved and populated to the user.  
Is there anything special that from a configuration point of view I have to do to, besides just click accept email?

 ![image](https://global.discourse-cdn.com/auth0/original/3X/a/4/a452409a0ad3621889d2332fcdfc6c8bb367edf5.png)

I tried:

- deleting the user and sign in again multiple times. This had worked only once, and the rest of the time the email is not retrieved.
- deleting the social connection and adding it back
- switching to v2 (deprecated) and then back to v3
- etc, nothing seems to make it work consistenly.

On the other side, I am using the Account Linking extension, but if I cannot retrieve the email from Linkedin the account linking extension does not make any sense.

Thanks

P.S: When I look at my connections in the `api/v2/connections` they look like:

```auto
{
    ....
   {
    "id": .....,
    "options": {
      "email": true,
      "scope": [
        "email",
        "profile",
        "openid"
      ],
      "openid": true,
      "profile": true,
      "client_id": "",
      "strategy_version": 3
    },
    "strategy": "linkedin",
    "name": "linkedin",
    "is_domain_connection": false,
    "realms": [
      "linkedin"
    ],
    "enabled_clients": [
     ...
    ]
  },

```

---

<div class="post-metadata">

**Author:** ![ignaciodm](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@ignaciodm](https://community.auth0.com/u/ignaciodm)\
**Post date:** [November 24, 2023, 7:52am UTC](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696/37 "2023-11-24T07:52:41Z")

</div>

Any updates @ty.frith ?? It just does not seem to work!

Another person is going through the same scenario I think:

> [@Not getting email ID from the linkedin user profile](https://community.auth0.com/t/not-getting-email-id-from-the-linkedin-user-profile/121529):
>
> we are using auth0 npm package in our react application and enabled Google,github and linkedin social connections with auth dev keys.The email information presents in google and github connection but not coming from the linkedin user profile response after login to the product using “linkedin social connection”. we are going to move the staging environment to production as soon as possible.Please provide the assistance to resolve at earliest

---

<div class="post-metadata">

**Author:** ![ramkumar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ramkumar/32/52619_2.png) [@ramkumar](https://community.auth0.com/u/ramkumar)\
**Post date:** [November 25, 2023, 8:46am UTC](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696/38 "2023-11-25T08:46:48Z")

</div>

not resolved yet,wondering if someone knows to resolve this or please share your experience if you come across this.

---

<div class="post-metadata">

**Author:** ![jamarks](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jamarks/32/52993_2.png) [@jamarks](https://community.auth0.com/u/jamarks)\
**Post date:** [December 5, 2023, 12:27pm UTC](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696/39 "2023-12-05T12:27:03Z")

</div>

Is it me, or the accessToken from the linkedin oauth2 integration is always immediately outdated after login? If I want to get more data from the user, like the full profile image (and not that 100x100 useless image) then the accessToken should be usable to use the real linkedin api toolbox.

Ideas? Great to see here some valuable activity.

---

<div class="post-metadata">

**Author:** ![RobSegers](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/robsegers/32/25724_2.png) [@RobSegers](https://community.auth0.com/u/RobSegers)\
**Post date:** [December 14, 2023, 10:02am UTC](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696/41 "2023-12-14T10:02:43Z")

</div>

> [@ty.frith](#):
>
> updated (v3) version of the LinkedIn connection

The updated (v3) version of the LinkedIn connection is not working. Linkedin simply throws an error. Also the custom connection setup is not working.

---

<div class="post-metadata">

**Author:** ![vinoth1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vinoth1/32/51866_2.png) [@vinoth1](https://community.auth0.com/u/vinoth1)\
**Post date:** [December 19, 2023, 8:02am UTC](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696/42 "2023-12-19T08:02:05Z")

</div>

GET [https://api.linkedin.com/v2/userinfo](https://api.linkedin.com/v2/userinfo)  
Authorization: Bearer

I am currently using the above API to retrieve user information, and I am receiving the response as follows:

jsonCopy code

```auto
{
    "sub": "5aHNdd56aVzm",
    "email_verified": true,
    "name": "Vinoth vino S",
    "locale": {
        "country": "US",
        "language": "en"
    },
    "given_name": "Vinoth",
    "family_name": "Kumar S",
    "email": "vinoth@email.io",
    "picture": ""
}

```

There is no vanity name available to build a public LinkedIn profile, and the current LinkedIn documentation indicates that everything is deprecated. Additionally, they do not provide a refresh token.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [January 2, 2024, 8:02am UTC](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696/43 "2024-01-02T08:02:57Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

[Previous page](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696.md?page=1)
