Mono Support Error in Login using Facebook Account 

Viewed 27497 time(s), 16 post(s), 3/28/2013 3:59:17 AM - by sam0864
3/28/2013 4:01:13 AM
656 Reputation 79 Total posts

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

1
3/28/2013 11:34:55 AM
2218 Reputation 300 Total posts

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

2
3/28/2013 1:04:50 PM
656 Reputation 79 Total posts

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

3
3/28/2013 8:28:50 PM
2218 Reputation 300 Total posts

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

4
3/29/2013 2:41:33 PM
656 Reputation 79 Total posts

yes, the handler is already there in the web.config

5
4/2/2013 9:27:43 AM
15993 Reputation 2214 Total posts

Can you also confirm that handler is in both places for IIS 6 & 7.x ?

Thanks

6
4/2/2013 3:14:32 PM
656 Reputation 79 Total posts

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

7
5/30/2013 3:46:29 AM
656 Reputation 79 Total posts

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

8
5/31/2013 4:38:35 AM
656 Reputation 79 Total posts

Any help to make it working on IIS 6.0
Does it require additional or different configuration??

9
5/31/2013 10:05:52 AM
15993 Reputation 2214 Total posts

Please check the mime types for that handler in the IIS 6 configuration.

10
1 2
This is a demo site for MonoX. Please visit Mono Software for more info.