Mono Support Facebook login issue 

Viewed 14632 time(s), 14 post(s), 2/18/2013 7:23:19 PM - by super
2/18/2013 7:23:19 PM
6018 Reputation 709 Total posts

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 ?

1
2/19/2013 7:53:03 AM
15993 Reputation 2214 Total posts

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

2
2/19/2013 2:19:11 PM
6018 Reputation 709 Total posts

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...

3
2/19/2013 2:48:49 PM
6018 Reputation 709 Total posts

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...

4
2/19/2013 2:58:57 PM
15993 Reputation 2214 Total posts

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

5
2/19/2013 3:10:31 PM
6018 Reputation 709 Total posts

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)

6
2/19/2013 3:18:00 PM
6018 Reputation 709 Total posts

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 ?

7
2/19/2013 9:06:50 PM
2218 Reputation 300 Total posts

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

8
2/19/2013 9:48:56 PM
6018 Reputation 709 Total posts

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...

9
2/20/2013 2:08:50 PM
6018 Reputation 709 Total posts

anyone ?

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