I am new to OAuth in asp.net mvc and i tried facebook authentication in my application but it's not working. When i click on Facebook button the page is not redirect to facebook.
Steps i followed for Facebook authentication.
I created account in facebook for developers.
Register my application in facebook for developers.
facebook gives me AppID and AppSecret.
I put the AppID and AppSecret in the Starutp.cs file (Use facebook authentication).
Now when i click on facebook link it's not redirecting to facebook page.
Note . When i click on facebook link the URL is Change from
https://localhost:44300/Account/Login
to
https://localhost:44300/Account/Login#_=_
How to solve it ?
Help will be appreciated. Thanks.
go to facebook developer account and change the Url like this
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.