YAFLogo

Posted by: KoosMos - Wednesday, 26 August 2015 11:01:46
Hello, After I logged to facebook I am redirected on my forum but I have a blank page. That's the redirect url after I logged into facebook : http://myforum.com/auth.aspx?auth=facebook&code=AQDzCaQUVCrGPM3t_NJuTQk8yTLydSqUGquWxRTBEgam8I2o1m6ZxlNBGCmeSSzVLUFHCs2mxLHZKnNktZqO7uyfE-F9pcwT5m7Wb_Y02cEGYp_j6WGBng7USKQMJG7Ge5U6CL4aKFEzOa0bA5TwgE9ztRFoAWYzF2wiSM8HBXMhALIeNNFIBWz3TkuTqXEdxnIUht_OnR3CLhBFJ3L-s-mrPuVgjfd4SKgNlQbXtFBJdJ8Zvyl7mUZpvewzCtHOkYxRCf7XbO0w3nZSjAM8-o6UUTcaGPvkjfs4CcDTPkp4OSHYRn4OYivqT6uRZJbeX1g If I refresh the page I have a "Forum Error" message.

Posted by: tha_watcha - Friday, 28 August 2015 22:25:37
Does the auth.aspx file exist in the root folder`?

Posted by: Mikael - Saturday, 29 August 2015 00:37:49
Yes, and it works great with Google and Twitter authentication.

Posted by: tha_watcha - Sunday, 30 August 2015 02:31:42
What error message are you getting, any event log entries?

Posted by: KoosMos - Monday, 31 August 2015 10:40:22
Here is the log : Error while trying to login or register the facebook user System.ArgumentNullException: Value cannot be null. Parameter name: Email cannot be null. at YAF.Providers.Utils.ExceptionReporter.ThrowArgumentNull(String providerSection, String tag) at YAF.Providers.Membership.YafMembershipProvider.GetUserNameByEmail(String email) at YAF.Core.Services.Auth.Facebook.LoginOrCreateUser(HttpRequest request, String parameters, String& message) at YAF.Auth.HandleFacebookReturn()

Posted by: theanh3112 - Wednesday, 10 August 2016 11:20:58
I have the same error with you, but i cannot resolve, anyone help us?

Posted by: duc hoai nguyen - Thursday, 20 October 2016 11:46:32
I have the same error . anyone help us ? Thanks

Posted by: tha_watcha - Saturday, 22 October 2016 05:50:15
The problem is when the user hides the email address. Yaf throws an error because the email address is needed for the account. in the next version there will be a warning message instead of the error screen.

Posted by: duc hoai nguyen - Wednesday, 26 October 2016 05:21:42
In this case , can the user register with the forum account ? Thanks

Posted by: tha_watcha - Thursday, 27 October 2016 12:49:10
[quote=duc hoai nguyen;67648]In this case , can the user register with the forum account ? Thanks[/quote] Yes the user can register normal without facebook.