Using OAuth2 authentication, can I fetch more of user info than email? Or,still not?

119 views
Skip to first unread message

roshandawrani

unread,
Jul 27, 2011, 6:56:09 AM7/27/11
to oauth2-dev
Hello,

I saw some previous threads about how to retrieve user info (for whom
the access token is issued) more than the email id (https://
www.googleapis.com/userinfo/email).

Is it still the case that it is not possible with OAuth2 and OpenID
needs to be used for that?

rgds,
Roshan

wayo

unread,
Jul 31, 2011, 11:29:04 PM7/31/11
to oauth...@googlegroups.com
Have you found an answer? I'm also intrested in getting more information using OAuth2.

Roshan Dawrani

unread,
Jul 31, 2011, 11:30:06 PM7/31/11
to oauth...@googlegroups.com
Hi, no, no reply yet. We are just able to get the email id from Google so far...


On Mon, Aug 1, 2011 at 8:59 AM, wayo <gua...@gmail.com> wrote:
Have you found an answer? I'm also intrested in getting more information using OAuth2.



--
Roshan
Blog: http://roshandawrani.wordpress.com/
Twitter: @roshandawrani
Skype: roshandawrani

chersanya

unread,
Aug 18, 2011, 1:14:31 PM8/18/11
to oauth...@googlegroups.com
Add "https://www.googleapis.com/auth/userinfo.profile" to scope and request URL "https://www.googleapis.com/oauth2/v1/userinfo?alt=json" (or alt=xml). This will give you such information, as full name, id, profile url, and email (if "https://www.googleapis.com/auth/userinfo.email" is in scope).

林舟

unread,
Sep 9, 2011, 5:28:22 AM9/9/11
to oauth...@googlegroups.com
Thank you very much!

why can't find these infomation in goolge's document?

Maxim Vasiliev

unread,
Sep 9, 2011, 11:59:56 AM9/9/11
to oauth2-dev
I guess this is because of moving google-profile to google+
And since i's still beta, manuals will not be updated soon.
Reply all
Reply to author
Forward
0 new messages