Facebook integration

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 года назад
Hello,

I'm trying to configure external autentication on nopcommerce 3.9 with facebook, but when I click "sign in with facebook" on the registration page, facebook give me this error:

URL blocked: This redirect failed because the redirect URI was not added to the whitelist in the app's OAuth client settings. Make sure that both OAuth client and web access are active and add all app domains as valid OAuth redirect URIs.

What I am missing? Thanks in advance.
4 года назад
Have you added valid OAuth redirect URI?
4 года назад
mhsjaber wrote:
Have you added valid OAuth redirect URI?


On Application Page -> Facebook Login -> Settings
In the field Redirect URI valid OAuth, I've inserted https://<mydomainUrl>/signin-facebook

Right?
4 года назад
Yes.
Another thing to be mentioned, www.yourdomain.com and yourdomain.com are not same.
4 года назад
Where I've to set the app domain?
4 года назад
Is you site running SSL ? Because you can not use the plugin unless you have a valid certificate installed and I have setting securitysettings.forcesslforallpages = true
If your website is called
    https://whatever.com
then the Valid OAuth Redirect URIs is
    https://whatever.com/signin-facebook
and I also entered
    https://www.whatever.com/signin-facebook

All the other settings I have are:
Client OAuth Login: Yes
Web OAuth Login: Yes
Enforce HTTPS: Yes
Force Web OAuth Reauthentication: No
Embedded Browser OAuth Login: No
Use Strict Mode for Redirect URIs: Yes
4 года назад
I have checked all the configuration but not way to make it works.

I have got always the same error message.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.