简体   繁体   中英

Social Login Plugin for Wordpress not working

Iv seen answers on this but they all are from at least 2 years ago (that i saw) and none of the remedies worked for me.

I am using the Yith Social Login for Woocommerce, I go to sign in and test and keep getting this error message: "URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app's Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs."

I've white listed every thing i possibly can think of, nothing works.

I am using 0Auth as well (not even sure if its needed)

Anyone got the solution?

I think the problem is the plugin doesn't declare the correct redirect url you have defined inside it.

I tried adding this to Facebook valid redirect url and it finally worked:

http://yourdomain.com/wp-content/plugins/wordpress-social-login/hybridauth/

That's what the plugin is redirecting to, and what Facebook try to compare with your valid url redirection.

The error message states that your Facebook App's settings are a bit off. You need to add your site's URL to your Facebook App's settings to prevent other sites taking advantage of your Facebook Login.

Here's how to do it:

  1. Open https://developers.facebook.com/apps/
  2. Click on your app
  3. Open Settings from left-side menu
  4. Click Advanced tab
  5. Scroll to Client OAuth Settings
  6. Fill in your site's URL to Valid OAuth redirect URIs

The URI should be the one that is sent to the Facebook when you're trying to log in with the plugin (you can find it from the address, probably something like redirect_url ).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM