MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Error in Login using Facebook Account  (Mono Support )

27184 put(a) pogledan, 16 odgovor(a) 28.3.2013. 3:59:17Kreirao(la) sam0864
sam0864

sam0864

28.3.2013. 4:01:13
I created Facebook App and updated web.config file with App ID and secret Key.

After I login using my facebook login ID/password, I get page not found error with this URL
http://mydomain.com/socialauth/validate.sauth?code=AQDN6epqiJm0QMvNBvtm4EJePc_TqEw-kg3kWdm-glkHbdGH5pJ_EuahorgVHcY0hGXf9ebsHlLNM72yTInvauPr2Z8-ydz9nBjzNAq5S-3K7QKmtpbgCY-xUcW1mPq50GQUfFtgsBE3D-AjswORwqjr25gx3N75rl913eLaY_26qLxkjrG3rfJBC4zA4NKOxzXxoAwbudx5Z6g83GSz1IhV#_=_

Is there any parameter has to be updated for Login using Facebook account to work?
I have 4.7.4373
Thank you
Ovaj sadržaj još nije ocijenjen. 
656 Reputacija 79 Ukupno objava
mzilic

mzilic

28.3.2013. 11:34:55
Hello,

I have a couple of questions:
Have you configured the App Domains and Site URL in the Facebook app settings?
Are you using Forms Authentication?
Are you using the default social-auth binaries which came with MonoX?

Regards,
Mario
Ovaj sadržaj još nije ocijenjen. 
2218 Reputacija 300 Ukupno objava
sam0864

sam0864

28.3.2013. 13:04:50
Yes, I entered the app domain and site URL as mono.mydomain.com (my testing URL )
I am using the same code from the nighty build
Ovaj sadržaj još nije ocijenjen. 
656 Reputacija 79 Ukupno objava
mzilic

mzilic

28.3.2013. 20:28:50
Please ensure that in your web.config you have this handler registered:
<add name="socialAuth.NET" verb="*" path="*.sauth" type="Brickred.SocialAuth.NET.Core.CallbackHandler" />
Regards,
Mario
Ovaj sadržaj još nije ocijenjen. 
2218 Reputacija 300 Ukupno objava
sam0864

sam0864

29.3.2013. 14:41:33
yes, the handler is already there in the web.config
Ovaj sadržaj još nije ocijenjen. 
656 Reputacija 79 Ukupno objava
khorvat

khorvat

2.4.2013. 9:27:43
Can you also confirm that handler is in both places for IIS 6 & 7.x ?

Thanks
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
sam0864

sam0864

2.4.2013. 15:14:32
I have the following
under httpHandlers
<add verb="*" path="*.sauth" type="Brickred.SocialAuth.NET.Core.CallbackHandler" />

and under handlers
<add name="socialAuth.NET" verb="*" path="*.sauth" type="Brickred.SocialAuth.NET.Core.CallbackHandler" />

I am running windows 2003 web server
Ovaj sadržaj još nije ocijenjen. 
656 Reputacija 79 Ukupno objava
sam0864

sam0864

30.5.2013. 3:46:29
UPDATE
It worked in IIS 7 (windows 7) but it did not work in IIS 6.0 (windows 2003 server)

I used the same setting/configuration and build in both

Ovaj sadržaj još nije ocijenjen. 
656 Reputacija 79 Ukupno objava
sam0864

sam0864

31.5.2013. 4:38:35
Any help to make it working on IIS 6.0
Does it require additional or different configuration??
Ovaj sadržaj još nije ocijenjen. 
656 Reputacija 79 Ukupno objava
khorvat

khorvat

31.5.2013. 10:05:52
Please check the mime types for that handler in the IIS 6 configuration.
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
1 2