Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Facebook oAuth in asp.net Webform

$
0
0

Hello everyone, 

I am trying to integrate Facebook oAuth into my asp.net application

I am using the code example from http://onlinewebapplication.com/facebook-login-sign-in/

I have inputted my appkey & secret on the oAuthFacebook.cs

When I go to my login page and click on the "Login via Facebook" button, one of 2 things happens

1) I get a timeout error on webRequest.GetResponse().GetResponseStream().Close();

OR

2) I get redirected to a page with the url like bellow, and it stops. No login happens

http://www.domain.com/FBCallback.aspx?code=AQCuMeGc7ibazxRpXc8Kzp847XQoPubhS4n_RqG3NZZ5OQs039vfF1WvtLm_T-bkZCO1_CAjo7CBY3_RXBgKZWuou6gTZQGaJL21Uf-PfIQzaadvR5A6EaMd7XfZnowoNVKOdUMHxSZeWAOdjyrsb7yKDt_W3H87Y2d-j6FIWbQ9RPfKPP3gB7bQTn1boFVpXE_EfX5WeXJBV4Cl0zjo1RjgXC-ee4I-1K2GxfstbMVQOym0vjyWUN_8fK2baiQS0EiaZKHKYu87U73lxuX7FjBG4DgwMp1StikePIJ8WVUDecCIL25wSCMqovpqY81QpXbjCsnoI6JKheTUe9mvVlv5m0CuhmD1AMsKeQVmIBMM59I8w#_=_

Thank you all!


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>