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 )

15434 put(a) pogledan, 14 odgovor(a) 18.2.2013. 19:23:19Kreirao(la) super
super

super

18.2.2013. 19:23:19
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 ?
Ovaj sadržaj još nije ocijenjen. 
6018 Reputacija 709 Ukupno objava
khorvat

khorvat

19.2.2013. 7:53:03
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
super

super

19.2.2013. 14:19:11
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...
Ovaj sadržaj još nije ocijenjen. 
6018 Reputacija 709 Ukupno objava
super

super

19.2.2013. 14:48:49
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...
Ovaj sadržaj još nije ocijenjen. 
6018 Reputacija 709 Ukupno objava
khorvat

khorvat

19.2.2013. 14:58:57
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
super

super

19.2.2013. 15:10:31
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)
Ovaj sadržaj još nije ocijenjen. 
6018 Reputacija 709 Ukupno objava
super

super

19.2.2013. 15:18:00
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 ?
Ovaj sadržaj još nije ocijenjen. 
6018 Reputacija 709 Ukupno objava
mzilic

mzilic

19.2.2013. 21:06:50
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
Ovaj sadržaj još nije ocijenjen. 
2218 Reputacija 300 Ukupno objava
super

super

19.2.2013. 21:48:56
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...
Ovaj sadržaj još nije ocijenjen. 
6018 Reputacija 709 Ukupno objava
super

super

20.2.2013. 14:08:50
anyone ?
Ovaj sadržaj još nije ocijenjen. 
6018 Reputacija 709 Ukupno objava
1 2