D
D
Diabo1ic2015-09-03 20:37:19
Yii
Diabo1ic, 2015-09-03 20:37:19

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

1 answer(s)
A
Alexander Makarov, 2015-09-03
@SamDark

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 question

Ask a Question

731 491 924 answers to any question