Take the 2-minute tour ×

It's a relatively well-known fact that Googles' OpenID Provider does not provide (no pun) username and various other properties, as well as that it generates really ugly claimed identifiers.

However, in a recent Hanselminutes episode (at arount 21 minutes into the show) Andrew Arnott says that "Google has special requirements before they'll actually give a name and an email address".

What are these requirements and how can one satisfy Google enough to make it actually return username and email address?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

You never get the Google username, but you can get the email address and first and last name of the user if your formulate the request right.

Here is the fix I applied to dasBlog so that it would get first and last name plus email address.

Basically you need to send an AX fetch request that "requires" first name, last name, and email address. I should write a blog post on exactly what you need to do in DotNetOpenAuth to accomplish this. Leave a comment on this answer if you think that would be helpful. In the meantime, you can check out the changeset I link to above and see if that gets you going.

share|improve this answer
That will be helpful. Please write! –  Budda Oct 29 '10 at 19:34
An explanation for getting DotNetOpenAuth to work with Google would be very helpful! –  csauve Jun 6 '12 at 22:12
There are numerous blog posts and StackOverflow questions already that describe how to use DotNetOpenAuth to obtain this info from Google. –  Andrew Arnott Jun 9 '12 at 19:29

Your Answer


