# 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:** 1\
**Showing post:** 6

<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:** [August 16, 2023, 11:03pm UTC](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696/6 "2023-08-16T23:03:18Z")

</div>

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.

1. [Create the custom social connection](https://auth0.com/docs/authenticate/identity-providers/social-identity-providers/oauth2). Use the following values:

 ![Image_2023-08-16_07-28-11](https://global.discourse-cdn.com/auth0/original/3X/2/8/2875b0b77f46e8a185f5e2f88ec95944280ca689.png)

1. Add the following code to Fetch User Profile Sript:

```auto
function(accessToken, ctx, cb) {
  
  request.get('https://api.linkedin.com/v2/userinfo', {
  	headers: {
    'Authorization': 'Bearer ' + accessToken,
      },
      json: true
  
   }, function(e, r, profile) {
      if (e) return cb(e);
      if (r.statusCode !== 200) return cb(new Error('StatusCode: ' + r.statusCode));
      profile.user_id = profile.sub;
      cb(null, profile);
    });
}

```

That should do the trick!

---

_[View the full topic](https://community.auth0.com/t/the-linkedin-login-is-deprecated-updating-to-the-new-scopes-is-necessary/113696)._
