I'm using MVC with Owin external login with Facebook.
Owin doesn't open facebook login as popup.It redirects the page to facebook.
I know there is a option to make facebook login open as popup.We need to add the "&dialog=popup" in the URL.
I don't have this option with OWIN.
Is there any way to do that?
I had the same problem. After reading though the source, I found a solution:
Basically: you need to go ahead and create an authentication provider for Facebook. So create a class that inherits from FacebookAuthenticationProvider. Within this class, override the "ApplyRedirect" method. Make it look something like:
Now simply wire this class up with your configuration, like so:
And that should be it!