Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.47 KB

LINKEDIN.md

File metadata and controls

31 lines (23 loc) · 1.47 KB

Table of Contents generated with DocToc

LinkedIn as authsource

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.

Enabling OIDC in your LinkedIn App

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.

Usage

   'linkedin' => [
        'authoauth2:OAuth2',
        'template' => 'LinkedInOIDC',
        'clientId' => $apiKey,
        'clientSecret' =>  $apiSecret,
        // Adjust the scopes: default is to request 'openid' (required),
        // 'profile' and 'email'
        // 'scopes' => ['openid', 'profile'],
   ]