Answer the question
In order to leave comments, you need to log in
YII2 authclient not returning user's email?
Guys help me, I've been trying to solve the problem for several hours and I can't: I
use the authClient extension for authorization on Facebook and I expect to receive the user's email, but only id and name are returned.
configuration:
'facebook' => [
'class' => 'yii\authclient\clients\Facebook',
'clientId' => '11111111111',
'clientSecret' => '111111111111111111111111111',
'authUrl' => ' https:/ /www.facebook.com/dialog/oauth?display=popu... '
]
If someone came across, tell me what's wrong?
Answer the question
In order to leave comments, you need to log in
Fixed in master version. There hasn't been a release yet. Change the dev-master version in composer.json and do a composer update.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question