Microsft Owin Facebook Authentication not working in MVC app
I am working in an ASP.NET MVC application. I am using the default Visual Studio project template. Google authentication works fine, but Facebook doesn't. I have provided valid appId and appSecred generated on my facebook developer portal and the app is publicly available.
app.UseFacebookAuthentication(
appId: "111111111111",
appSecret: "aaaaaaaaa");
After the user tries to login with facebook, the system is redirected to https: // localhost: 44301 / Account / Login # =
It doesn't go into / Account / ExternalLoginCallback, so I'm guessing the login failed.
Can someone tell me what I am doing wrong?
Thanks in advance.
+3
source to share