Auth0 · Schema
ConnectionOptionsLinkedin
Options for the 'linkedin' connection
AI AgentsAuthenticationAuthorizationFGAIdentity ManagementMCPOAuthOktaOpenID ConnectSAMLSecuritySCIM
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ConnectionOptionsLinkedin",
"title": "ConnectionOptionsLinkedin",
"description": "Options for the 'linkedin' connection",
"type": "object",
"additionalProperties": true,
"allOf": [
{
"$ref": "#/components/schemas/ConnectionOptionsCommon"
},
{
"type": "object",
"properties": {
"client_id": {
"$ref": "#/components/schemas/ConnectionClientIdLinkedin"
},
"client_secret": {
"$ref": "#/components/schemas/ConnectionClientSecretLinkedin"
},
"freeform_scopes": {
"$ref": "#/components/schemas/ConnectionFreeformScopesLinkedin"
},
"scope": {
"$ref": "#/components/schemas/ConnectionScopeLinkedin"
},
"set_user_root_attributes": {
"$ref": "#/components/schemas/ConnectionSetUserRootAttributesEnum"
},
"strategy_version": {
"description": "The strategy_version property determines which LinkedIn API version and OAuth scopes are used for authentication. Version 1 uses legacy scopes (r_basicprofile, r_fullprofile, r_network), Version 2 uses updated scopes (r_liteprofile, r_basicprofile), and Version 3 uses OpenID Connect scopes (profile, email, openid). If not specified, the connection defaults to Version 3.",
"anyOf": [
{
"$ref": "#/components/schemas/ConnectionStrategyVersionEnumLinkedin"
}
]
},
"upstream_params": {
"$ref": "#/components/schemas/ConnectionUpstreamParams"
}
}
},
{
"type": "object",
"properties": {
"basic_profile": {
"type": "boolean",
"default": false,
"description": "Request the LinkedIn lite profile scope (r_liteprofile) to retrieve member id, localized first/last name, and profile picture. Off by default."
},
"email": {
"type": "boolean",
"default": false,
"description": "Request the email address scope (r_emailaddress) to return the member's primary email. Off by default."
},
"full_profile": {
"type": "boolean",
"default": false,
"description": "Request the legacy full profile scope (r_fullprofile) for extended attributes. Deprecated by LinkedIn; use only if enabled for your app. Off by default."
},
"network": {
"type": "boolean",
"default": false,
"description": "Request legacy network access (first-degree connections). Deprecated by LinkedIn and typically unavailable to new apps. Off by default."
},
"openid": {
"type": "boolean",
"const": true,
"description": "Request OpenID Connect authentication support (openid scope). When enabled, the connection will request the 'openid' scope from LinkedIn, allowing the use of OpenID Connect flows for authentication and enabling the issuance of ID tokens. This is off by default and should only be enabled if your LinkedIn application is configured for OpenID Connect."
},
"profile": {
"type": "boolean",
"const": true,
"description": "Always-true flag that ensures the LinkedIn profile scope (r_basicprofile/r_liteprofile/profile) is requested."
}
}
}
]
}