facebook login error

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
10 年 前
Nop 3.0

I cant login with facebook
It's getting to facebook app page, however the return url issue and error
The remote server returned an error: (400) Bad Request.

the following line in FacebookProviderAuthorizer.cs is throwing the error:
var authResult = this.FacebookApplication.VerifyAuthentication(_httpContext, GenerateLocalCallbackUri());

the uri i get back from GenerateLocalCallbackUri is:
http://localhost:39868/plugins/externalauthFacebook/logincallback/


thats for both local host and an active domain.

thanks
10 年 前
Everything works fine (just tested). Are you sure you specified a valid "client key"? You can get this error if it is not valid
10 年 前
a.m. wrote:
Everything works fine (just tested). Are you sure you specified a valid "client key"? You can get this error if it is not valid


it worked before with the same facebook app
10 年 前
Have you upgraded or installed nopCommerce from scratch?
10 年 前
I had one issue solved
I was working on sand box mode(should work with my facebook account I'm the administrator) , however i have which it to public mode and its working


but now I get:  "Email is required." error message
10 年 前
i set the Configure your permissions
add email at the User & Friend Permissions
but still cnat get the email address

does anyone know how to configure the facebook app permission
10 年 前
hezyz wrote:
i set the Configure your permissions
add email at the User & Friend Permissions
but still cnat get the email address

does anyone know how to configure the facebook app permission



i have created an app with all available permissions and extended permission including email. still cant get the email address.
further when facebook windows promote it only ask fro public information

  
cant get the email, anyone?
10 年 前
I don't know what permission you disabled in your application (FaceBook application, not nopCommerce), but it works just fine on my computer.

Try debugging "ParseClaims" method of \Nop.Plugin.ExternalAuth.Facebook\Core\FacebookProviderAuthorizer.cs file. Are you getting an email there?
10 年 前
a.m. wrote:
I don't know what permission you disabled in your application (FaceBook application, not nopCommerce), but it works just fine on my computer.

Try debugging "ParseClaims" method of \Nop.Plugin.ExternalAuth.Facebook\Core\FacebookProviderAuthorizer.cs file. Are you getting an email there?


that is what i did , i get the user name and null for email.
The facebook app does not return email address, although I ask permission to get that email.

I know it's new in facebook app so if u use an old app it might work.

can u please try to create a new app and see if it works for u?


just to be on the safe side I have specified all the available permissions
http://www.windalert.co.il/facebook.png
and that is after many tests with just the email


thank you
10 年 前
I'll test it with a new application
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.