i have followed the instruction here http://www.yiiframework.com/doc-2.0/yii-authclient-authaction.html.. and it\'s not working for me.. i am using yii2 authclient for soc
Make sure that in your behaviours() you allow access to the action "auth" in your SiteController.php
So your rules should look something like:
'rules' => [
[
'actions' => [ 'login', 'error', 'auth' ],
'allow' => true,
],
[
'actions' => [ 'logout', 'index' ],
'allow' => true,
'roles' => [ '@' ],
],
],