Starting with the fresh new MVC5 project, I have connected OAuth external input using Google, Facebook, Twitter, Microsoft, etc. Everything is working properly.
Then I added a new ASP.NET session state provider for Redis Preview Release and launched it. Yes!
I soon noticed that trying to log in using any of the OAuth providers no longer works as expected. The Google and Facebook login buttons call ExternalLoginCallback (string returnUrl) on the Accont controller, but they don’t go anywhere. The login page just refreshes.
The LinkedIn, Twitter, and Microsoft buttons direct the user to these login pages, but when they return to my application, they return to the login page and the user is not added to the system.
Commenting out the user sessionState entry in my web.config, it returns the external login back.
Given that both frameworks are black boxes for me, I'm not sure how to do this to get them to play together.
source
share