You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 3, 2018. It is now read-only.
Hello, I used this, but I have a problem.
My code is like this:
DotNetOpenAuth.GoogleOAuth2.GoogleOAuth2Client.RewriteRequest();
AuthenticationResult result = OAuthWebSecurity.VerifyAuthentication(Url.Action("ExternalLoginCallback", new { ReturnUrl = returnUrl }));
Before, result.UserName contained users email. Now it contains only name. What can I do so it contains email address?
In RegisterAuth method I have this:
var client = new DotNetOpenAuth.GoogleOAuth2.GoogleOAuth2Client(googleClientID, googleClientID);
var extraData = new Dictionary<string, object>();
OAuthWebSecurity.RegisterClient(client, "Google", extraData);
Thanks a lot,
Petr
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, I used this, but I have a problem.
My code is like this:
Before, result.UserName contained users email. Now it contains only name. What can I do so it contains email address?
In RegisterAuth method I have this:
Thanks a lot,
Petr
The text was updated successfully, but these errors were encountered: