Google Authentication API: How to get the user's gmail address

user15974 picture user15974 · Sep 17, 2008 · Viewed 13.2k times · Source

I've been studying the Google authentication API (AuthSub)... My question is, how do I get the user's account information (at least their Gmail address) after the authentication has passed?

Because currently, all I get back from the authentication process is a token granting me access to which ever Google service I have specified in the scope, but there's no easy way to even get the user's login id (Gmail address) as far as I can tell...


If so, what Google service allows me to access the user's information?

Answer

bugBurger picture bugBurger · Sep 17, 2008

Google Authentication API is a token based system to authenticate a valid user. It does not expose any of other interface that allows to get account holder information back to authorizer.