Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google login return user phone ,address and gender #1398

Open
coderevolts opened this issue Mar 15, 2024 · 0 comments
Open

Google login return user phone ,address and gender #1398

coderevolts opened this issue Mar 15, 2024 · 0 comments

Comments

@coderevolts
Copy link

Hi Team,

I am getting empty user phone ,address and gender. Below is the response,

var_dump($adapter->getUserProfile());

object(Hybridauth\User\Profile)#8 (23) {

["identifier"]=> string(21) "110518563885430872718" ["webSiteURL"]=> NULL ["profileURL"]=> NULL ["photoURL"]=> string(90) "https://lh3.googleusercontent.com/a/ACg8ocJlroMMWmTXPkYYtoCvf0Su4XsfScIJpi_Gjn8x-o1O=s96-c" ["displayName"]=> string(12) "Sanjay Goyal" ["description"]=> NULL ["firstName"]=> string(6) "Sanjay" ["lastName"]=> string(5) "Goyal" ["gender"]=> NULL ["language"]=> string(2) "en" ["age"]=> NULL ["birthDay"]=> NULL ["birthMonth"]=> NULL ["birthYear"]=> NULL ["email"]=> string(28) "sanjay.coderevolts@gmail.com" ["emailVerified"]=> string(28) "sanjay.coderevolts@gmail.com" ["phone"]=> NULL ["address"]=> NULL ["country"]=> NULL ["region"]=> NULL ["city"]=> NULL ["zip"]=> NULL ["data"]=> array(0) { }

}

Please guide me to solve this issue. I am using lastest hybridauth-3.11.0.

Thanks,

Google login return user phone ,address and gender

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant