I’m trying to build a rather simple site, and my biggest hurdle is getting facebook login working. I’m trying to use the authclient extension to log in with facebook. I’ve set everything up according to docs… but I don’t know how to initiate the process of logging in.
I’ve built a fb connect based on the sdk before and I’d really rather not… Now my next question, how do I access template functions in twig and plugins through a twig template?
Such as this:
<?= yii\authclient\widgets\AuthChoice::widget([
'baseAuthUrl' => ['site/auth']
]); ?>
I’ve used cakephp before on a pretty big project, but I’m completely new to yii.
I find a practice with yii extensions is to describe how to install/configure the module but nothing on actually using it.