How to get email, gender and username from Google OpenID Provider

后端 未结 2 489
無奈伤痛
無奈伤痛 2021-01-15 02:02

I Have made Login system using open ID Using the following code



        
2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-15 02:42

    See duplicate question How to get email from Google OpenID Provider (in VB) for the answer, with the addendum that:

    You cannot get the Google user's username or gender. You can get their email address and I think that's about it. (Maybe their full name as well). This is up to individual OpenID Providers and Google, like other large ones, has elected to provide minimal data on the user.

提交回复
热议问题