I am using Google Login in my iOS app. Everything worked well until recently, when I noticed that the application no longer receives a username, only the email address is returned.
I get the token through the application that I send to my server, which I used to get full information by sending a request to this endpoint:
https:
Now I get this answer:
{ "issuer": "https://accounts.google.com", "issued_to": "o37l8g.apps.googleusercontent.com", "audience": "o37l8g.apps.googleusercontent.com", "user_id": "113504", "expires_in": β814, "issued_at": β1452991611, "email": " myemail@gmail.com ", "email_verified": true }
I tried to use other endpoints, for example https://www.googleapis.com/oauth2/v1/tokeninfo?access_token= and https://www.googleapis.com/oauth2/v1/userinfo?access_token= , but none of They didnβt work.
I also tried with the playground, but I canβt find which endpoint to use, my area is well defined, and I see all permissions in the iOS application, but for some reason it still doesnβt return the username ... Any ideas?
source share