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.

Facebook login issue  (Mono Support )

Viewed 14071 time(s), 14 post(s) 2/18/2013 7:23:19 PMby super
super

super

2/18/2013 7:23:19 PM
Users on my website have reported that when they try to login to my site using facebook, they get error.

I also tested and I get error... I even have facebook app API key and secret ket saved in my webconfig.

The problem is when I am already logged into my facebook account then I am able to login using facebook but when I am not and try to login to site as a new user will...I get error message saying please try again...

Is there any bug with this ?
This content has not been rated yet. 
6018 Reputation 709 Total posts
khorvat

khorvat

2/19/2013 7:53:03 AM
Not that we know about, we have many of commercial web sites using Facebook via SocialAuth so in order to investigate this can you please send us a screenshot of this error and maybe MonoX logs to see if there is an error there related to Facebook.

Thanks
This content has not been rated yet. 
15993 Reputation 2214 Total posts
super

super

2/19/2013 2:19:11 PM
I don't see anything in the log because I guess the site directs the user to facebook website and the error comes on facebook...so log can only track an error on monox site not facebook.

Please see the screenshot...
This content has not been rated yet. 
6018 Reputation 709 Total posts
super

super

2/19/2013 2:48:49 PM
This is I have configured in my webconfig..

The facebooks's app ID as "ConsumerKey" and App Secret as "ConsumerSecret" in my webconfig.

Please see attached screenshot...
This content has not been rated yet. 
6018 Reputation 709 Total posts
khorvat

khorvat

2/19/2013 2:58:57 PM
As it seems to me that you are right and that your problem resides on the Facebook or inside the SocialAuth.Net, can you please try to upgrade to the latest version of SocialAuth.Net from here. If this persists please try to submit an issue to SocialAuth.Net and try to get it solved.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
super

super

2/19/2013 3:10:31 PM
After updating to new socialAuth.net, I get this error when I click on facebook login button:

2013-02-19 10:08:54,766 [6] ERROR MonoX [::1] - Error
System.MissingMethodException: Method not found: 'Void Brickred.SocialAuth.NET.Core.BusinessObjects.SocialAuthUser.Login(Brickred.SocialAuth.NET.Core.BusinessObjects.PROVIDER_TYPE, System.String, System.Action, System.String)'.
   at MonoSoftware.MonoX.ModuleGallery.LoginSocial.Login(PROVIDER_TYPE selectedProvider)
   at MonoSoftware.MonoX.ModuleGallery.LoginSocial.btn_Click(Object sender, EventArgs e)
   at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e)
   at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
This content has not been rated yet. 
6018 Reputation 709 Total posts
super

super

2/19/2013 3:18:00 PM
Khorvat,

If there is problem with SocialAuth.Net then you should also see this problem - Could you please take the MonoX_4_7_40_4233 nightly build and try to configure facebook on your end see if you see any problem or it's just me ?
This content has not been rated yet. 
6018 Reputation 709 Total posts
mzilic

mzilic

2/19/2013 9:06:50 PM
I can confirm that Social-Auth works correctly. However please have a couple of things in mind regarding Facebook:

1. After you go live with your application make sure that the sandbox mode is disabled in your Facebook App settings.
2. Ensure that in your Facebook App settings your domain under App Domains is spelled correctly. The domain in the browser address bar must match one of the domains entered under App Domains. I can easily reproduce this error and it appears to match your description.

Regards,
Mario
This content has not been rated yet. 
2218 Reputation 300 Total posts
super

super

2/19/2013 9:48:56 PM
My sandbox is disabled but everything I try to enter App Domain in this
format "mydomain.com" and press save, I get error message.

Please see screenshot...
This content has not been rated yet. 
6018 Reputation 709 Total posts
super

super

2/20/2013 2:08:50 PM
anyone ?
This content has not been rated yet. 
6018 Reputation 709 Total posts
1 2