Missing required parameter "id" when instantiating "yii\authclient\AuthAction".

Hi,

I have problems initiating AuthAction class.

I’ve configured actions in the controller:

public function actions()

{

return [

‘auth’ => [

‘class’ => ‘yii\authclient\AuthAction’,

‘successCallback’ => [$this, ‘successCallback’],

],

];

}

Callback function is there in the controller.

Components are configured with proper facebook params.

‘components’ => [

‘authClientCollection’ => [ …

I have the exception when initiating the class at startup: Missing required parameter "id" when instantiating "yii\authclient\AuthAction".

I’ve re-installed all components: removed vendrors and re-run composer update.

Any idea what can be wrong there?

Any help will be appreciated.

Regards,

Art

0

Hello all,

Is it something wring with my configuration or it’s a bug ?

Regards,

Art