I am using Microsoft.Web.WebPages.OAuth . I was able to register Google , Facebook , Twitter , Stack Exchange , MyOpenID ...
Now I'm trying to add Microsoft Live , so I registered:
OAuthWebSecurity.RegisterMicrosoftClient("applicationID", "key");
and called
OAuthWebSecurity.RequestAuthentication("microsoft", Url.Action("Authorization", new { returnUrl = "/" }));
At this point, everything is working fine, I'm being redirected to the login page. The problem is that I will return to
OAuthWebSecurity.VerifyAuthentication();
It says:
The remote server returned an error: (400) Bad request.
What should I do?
authentication c # oauth dotnetopenauth
Brunolm
source share