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

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. Use the following values:

  1. Add the following code to Fetch User Profile Sript:
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!

1 Like