Table of Contents generated with DocToc
The LinkedInV2Auth
authsource has been deprecated, and we now recommend the use of OIDC, which is enabled in the LinkedIn developer portal via their Sign In with LinkedIn V2 product. Use of OIDC facilitates the use of standard configuration patterns and claims endpoints.
OIDC can be enabled in your existing LinkedIn App by simply adding Sign In with LinkedIn v2 to your app's products. See the Cirrus Identity Blog article for details.
'linkedin' => [
'authoauth2:OAuth2',
'template' => 'LinkedInOIDC',
'clientId' => $apiKey,
'clientSecret' => $apiSecret,
// Adjust the scopes: default is to request 'openid' (required),
// 'profile' and 'email'
// 'scopes' => ['openid', 'profile'],
]