Adam Tong
2014-09-14 21:53:16 UTC
Hi,
I implemented successfully a sign-in with google feature in my website. Now
I want to retrieve the user's location after he signs in. How can I do that?
At this moment here is the scope that i have: $client->setScopes('email');`
I guess I have to change that.
And to retrieve data I have the following:
$client->verifyIdToken()->getAttributes(); Do I need another method than
this?
thanks
I implemented successfully a sign-in with google feature in my website. Now
I want to retrieve the user's location after he signs in. How can I do that?
At this moment here is the scope that i have: $client->setScopes('email');`
I guess I have to change that.
And to retrieve data I have the following:
$client->verifyIdToken()->getAttributes(); Do I need another method than
this?
thanks