Reputation: 332
I am working in Asp.Net MVC appplication. I am using the default visual studio project template. Google authentication is working fine but facebook doesn't. I specified a valid appId and appSecred generated on my facebook developer portal and the app is available to the public.
app.UseFacebookAuthentication(
appId: "111111111111",
appSecret: "aaaaaaaaa");
After the user tries to login with facebook, the system redirects to https://localhost:44301/Account/Login#=
It is not entering to /Account/ExternalLoginCallback, so I assume the login failed.
Can somebody tell me what I am doing wrong?
Thanks in advance.
Upvotes: 3
Views: 938
Reputation: 8112
Go to NuGet Package Manager and run this command Install-Package Microsoft.Owin.Security.Facebook
and try doing the log in.
Upvotes: 2
Reputation: 6094
3.0 uses obsolete APIs, update to 3.1. https://github.com/aspnet/AspNetKatana/issues/38
Upvotes: 1