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 )

Viewed 27528 time(s), 16 post(s) 28.03.2013 03:59:17by sam0864
sam0864

sam0864

28.03.2013 04: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
Dieser Inhalt wurde noch nicht bewertet. 
656 Reputation 79 Total posts
mzilic

mzilic

28.03.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
Dieser Inhalt wurde noch nicht bewertet. 
2218 Reputation 300 Total posts
sam0864

sam0864

28.03.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
Dieser Inhalt wurde noch nicht bewertet. 
656 Reputation 79 Total posts
mzilic

mzilic

28.03.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
Dieser Inhalt wurde noch nicht bewertet. 
2218 Reputation 300 Total posts
sam0864

sam0864

29.03.2013 14:41:33
yes, the handler is already there in the web.config
Dieser Inhalt wurde noch nicht bewertet. 
656 Reputation 79 Total posts
khorvat

khorvat

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

Thanks
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts
sam0864

sam0864

02.04.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
Dieser Inhalt wurde noch nicht bewertet. 
656 Reputation 79 Total posts
sam0864

sam0864

30.05.2013 03: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

Dieser Inhalt wurde noch nicht bewertet. 
656 Reputation 79 Total posts
sam0864

sam0864

31.05.2013 04:38:35
Any help to make it working on IIS 6.0
Does it require additional or different configuration??
Dieser Inhalt wurde noch nicht bewertet. 
656 Reputation 79 Total posts
khorvat

khorvat

31.05.2013 10:05:52
Please check the mime types for that handler in the IIS 6 configuration.
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts
1 2