Auth0 Home Blog Docs

LinkedIn w_share permission


#1

Hi, I cannot seem to activate this permission inside Auth0 as I want to use the LinkedIn access token to post on the user’s page. Is it possible to create a flag for this under the social connections dialog?


#2

Hi… Any help with this?


#3

:wave: @customautosys we can request a scope that does not exist in the Auth0 dashboard by passing them under connectionScopes in Lock (assuming you are using Lock):

var lockOptions = {
  allowedConnections: ['linkedin'],
  auth: {
    ...
    ...
    connectionScopes: {
      linkedin: ['w_share']
    }
  }
};

I just tried using the Hosted Login Page and I got prompted for the permission Post updates to LinkedIn as you with the w_share scope :slight_smile:


#4

It works!

Thank you so much for your help!