0
1
|
I am going through a tutorial to implement facebook social log in my sample web site. Below are the steps I did.
Behavour: Now when I run my application from local host (https) and
click Register then I see the facebook sign in button . Also when I click that button a facebook pop up comes with "Sample App" wants to access your facebook data. So far so good. But as I say YES to it nothing happens after that. I get redirected to the log in page. and the URL is https://localhost:44393/Account/Login#_=_
Expected Behaviour: For the tutorial that I am following after doing above steps one message comes on tutors screen as "Facebook has authenticated.... Enter you email to continue". Something like this. Can some one please guide me here why I am not getting same message and why I am not able to use social log in. I have tried to follow all the steps.
Is there any other steps I need to do in facebook developer dashboard?
EDIT 1 :
In the facebook developer dashboard for my app in the Facbook Login Tab->Settings : I see below message.
EDIT 2: I debugged and found that returnURL is null when I click on facebook log in button.
|
hi I found out that I need to install package
Install-Package Microsoft.Owin.Security.Facebook
from nuget package manager. After this everything worked fine.
Simply update the Windows.Owin.Security.Facebook to latest version(3.1.0) further in facebook application update the "Valid OAuth redirect URIs" to "http://localhost:xxxx/signin-facebook" (in my case) every thing works...
OR
Please see the link ExternalLoginConfirmation returns null after facebook succesful login
|
0 comments:
Post a Comment
Note: only a member of this blog may post a comment.