diff --git a/config/web.php b/config/web.php index 85dfc62..f2e462b 100644 --- a/config/web.php +++ b/config/web.php @@ -83,22 +83,22 @@ ], ], ], - // 'authClientCollection' => [ - // 'class' => 'yii\authclient\Collection', - // 'clients' => [ - // 'google' => [ - // 'class' => 'yii\authclient\clients\Google', - // 'clientId' => '', - // 'clientSecret' => '', - // ], - // 'facebook' => [ - // 'class' => 'yii\authclient\clients\Facebook', - // 'clientId' => '', - // 'clientSecret' => '', - // 'scope' => 'email', - // ], - // ] - // ], + 'authClientCollection' => [ + 'class' => 'yii\authclient\Collection', + 'clients' => [ + 'google' => [ + 'class' => 'yii\authclient\clients\Google', + 'clientId' => '', + 'clientSecret' => '', + ], + 'facebook' => [ + 'class' => 'yii\authclient\clients\Facebook', + 'clientId' => '', + 'clientSecret' => '', + 'scope' => 'email', + ], + ] + ], 'assetManager' => [ 'bundles' => [ 'yii\authclient\widgets\AuthChoiceStyleAsset' => [