docs/interfaces/management.Management.ConnectionOptionsLinkedin.html
Options for the 'linkedin' connection
interface ConnectionOptionsLinkedin {
non_persistent_attrs?: ConnectionNonPersistentAttrs;
client_id?: string;
client_secret?: string;
freeform_scopes?: ConnectionScopeArray;
scope?: ConnectionScopeArray;
set_user_root_attributes?: Management.ConnectionSetUserRootAttributesEnum;
strategy_version?: number;
upstream_params?: ConnectionUpstreamParams;
basic_profile?: boolean;
email?: boolean;
full_profile?: boolean;
network?: boolean;
openid?: boolean;
profile?: boolean;
key: string: any;
}
Accepts any additional properties
non_persistent_attrs?client_id?client_secret?freeform_scopes?scope?set_user_root_attributes?strategy_version?upstream_params?basic_profile?email?full_profile?network?openid?profile?
Optionalnon_persistent_attrsnon_persistent_attrs?: ConnectionNonPersistentAttrs
Optionalclient_idclient_id?: string
Optionalclient_secretclient_secret?: string
Optionalfreeform_scopesfreeform_scopes?: ConnectionScopeArray
Optionalscopescope?: ConnectionScopeArray
Optionalset_user_root_attributesset_user_root_attributes?: Management.ConnectionSetUserRootAttributesEnum
Optionalstrategy_versionstrategy_version?: number
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.
Optionalupstream_paramsupstream_params?: ConnectionUpstreamParams
Optionalbasic_profilebasic_profile?: boolean
Request the LinkedIn lite profile scope (r_liteprofile) to retrieve member id, localized first/last name, and profile picture. Off by default.
Optionalemailemail?: boolean
Request the email address scope (r_emailaddress) to return the member's primary email. Off by default.
Optionalfull_profilefull_profile?: boolean
Request the legacy full profile scope (r_fullprofile) for extended attributes. Deprecated by LinkedIn; use only if enabled for your app. Off by default.
Optionalnetworknetwork?: boolean
Request legacy network access (first-degree connections). Deprecated by LinkedIn and typically unavailable to new apps. Off by default.
Optionalopenidopenid?: boolean
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.
Optionalprofileprofile?: boolean
Always-true flag that ensures the LinkedIn profile scope (r_basicprofile/r_liteprofile/profile) is requested.
Member Visibility
ThemeOSLightDark
Properties non_persistent_attrsclient_idclient_secretfreeform_scopesscopeset_user_root_attributesstrategy_versionupstream_paramsbasic_profileemailfull_profilenetworkopenidprofile