If LinkedIn is specified as the the external identity provider, a subset of LinkedIn provider attributes can be used as the mapping attribute placeholder value.

The placeholder value must use the following syntax:

${providerAttributes.<LinkedIn attribute name>}

When you create a new LinkedIn identity provider entity, the POST request automatically maps the PingOne username attribute to the LinkedIn emailAddress attribute. The username attribute is the core mapping attribute; the default LinkedIn attribute value is emailAddress. It is also recommended that you map the PingOne email attribute to the LinkedIn emailAddress attribute.

The request body for the email-to-email mapping looks like this, with the value attribute showing the LinkedIn emailAddress attribute expressed using the placeholder syntax:

{
    "name": "email",
    "update": "EMPTY_ONLY",
    "value": "${providerAttributes.emailAddress}"
}

The POST /environments/{environmentId}/identityProviders operation adds a new identity provider resource to the specified environment.

When the type property value is set to LINKEDIN, LinkedIn’s clientId and clientSecret property values are required in the request body.

LinkedIn identity provider settings data model

Property Description
clientId A string that specifies the application ID from LinkedIn. This is a required property.
clientSecret A string that specifies the application secret from LinkedIn. This is a required property.

LinkedIn core attributes

Property Description
username A string that specifies the core LinkedIn attribute. The default value is ${providerAttributes.emailAddress} and the default update value is EMPTY_ONLY.

LinkedIn provider attributes

Permission Provider attributes
r_liteprofile Options are: id, firstName, lastName.
r_emailaddress Options are: emailAddress.