I am trying to set up integrated authentication with Google and Microsoft using a standard MVC 4 project out of the box. I uncommented the RegisterMicrosoftClient and RegisterGoogleClient lines in AuthCConfig.cs. Google Accounts works fine.
In the standard MVC 4 Internet app template, I simply put an [Authorize] attribute on the About method to trigger authentication on the About page. It works fine for Google. You can test it out at http://190160495a2241f18779dc104b0f1f1b.cloudapp.net before I bring it offline in a few days.
After testing for some time I realize that Microsoft will always complain about the redirect url no matter what. At first I thought it was localhost that was causing the probem. So I deployed to Azure, but on clicking the Microsoft button in the login page https://oauth.live.com/ always gives:
Go to the complete details ...