I am still reading on using dotnetopenauth and google openid. In the google docs they mention some parameters that need to be passed like:
“openid.ns”, “openid.claimed_id”, “openid.identity”, “openid.ax.type.email” etc …
Does DotNetOpenAuth send all those params on its own seamlessly?
Thanks
DotNetOpenAuth sets all the OpenID standard parameters automatically, including
openid.return_to. If you want to customizeopenid.realmoropenid.return_to, you can pass values for them as parameters toOpenIdRelyingParty.CreateRequest. Other parameters you can customize or add by setting properties or calling methods on theIAuthenticationRequestthat is returned byCreateRequestbefore you callRedirectToProvider.In particular, you can specify the
openid.ax.type.emailparameter by adding aFetchRequestextension to the outgoing request with email included as a required attribute. Then in the response check for theFetchResponseextension.