I use lastest YAF version: 2.2.3. everything is ok. But when i try to connect to Facebook login. Failed. .
When i access to login page in my YAF, continue http:/
-> continue, my browser address is: 

and cannot redirect to my YAF.
How must i do? Any help?
2016-08-11T03:49:25Z  -> root
auth.aspx is on root folder.

Facebook app config:
Client OAuth Login : enable
Web OAuth Login : enable 
Public: enable
i added FB APP ID & Secret in app.config.

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) in e:'RITC'yafsrc'YAF.Providers'Utils'ExceptionReporter.cs:line 134 at YAF.Providers.Membership.YafMembershipProvider.GetUserNameByEmail(String email) in e:'RITC'yafsrc'YAF.Providers'Membership'YafMembershipProvider.cs:line 1055 at YAF.Core.Services.Auth.Facebook.LoginOrCreateUser(HttpRequest request, String parameters, String& message) in e:'RITC'yafsrc'YAF.Core'Services'Auth'Facebook.cs:line 186 at YAF.Auth.HandleFacebookReturn() in e:'RITC'yafsrc'YetAnotherForum.NET'auth.aspx.cs:line 237

But cannot redirect without blank page 😞, helpppppp
The Problem is according to Facebook if the user does not provide an email address (because the user uses his phone number) then YAF throw an error because yaf needs the email address.

In YAF 2.3.0 i added a check if the email address is empty and if its empty the user gets an error message instead of the white screen.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved