I’m using dotnetopenauth 3.2 to implement Openid and can’t figure out how to get Google to pass the email address in the Claims Response. I know that Google doesn’t support simple registration, but I can’t determine what they do support.
Caveat to this question is that I just started learning OpenID and I know I don’t have a solid grasp on the specification which I think is leading to my confusion.
Any help would be appreciated!
Ok figured it out. I posted a question on Goolge’s Federated Log API group and was told to use Attribute exchange.
Below is the code for DotNetOpenAuth.
Please don’t use this code in production. This is for illustration purposes only!
The Request:
The Response: