In order to use linkedIn OAuth you must register your application at .
Example application configuration:
~~~
'components' => [
'authClientCollection' => [
'class' => 'yii\authclient\Collection',
'clients' => [
'linkedin' => [
'class' => 'yii\authclient\clients\LinkedIn',
'clientId' => 'linkedin_client_id',
'clientSecret' => 'linkedin_client_secret',
],
],
]
...
]
~~~