Title: Broken FB login loop
Last modified: June 27, 2018

---

# Broken FB login loop

 *  [ayaskant](https://wordpress.org/support/users/ayaskant/)
 * (@ayaskant)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/broken-fb-login-loop/)
 * [My site](https://www.recurserve.com)features the facebook login button and facebook
   login completes the loop. But when the authentication completes and redirects
   back to plugin page, the plugin refers it back to a broken url(“[https://wp-login.php/?ywsl_social=facebook&redirect=https%3A%2F%2Fwww.recurserve.com%3A443%2Fmy-account…&#8221](https://wp-login.php/?ywsl_social=facebook&redirect=https%3A%2F%2Fwww.recurserve.com%3A443%2Fmy-account…&#8221);).
 * _**Details:**_
    WordPress: _Version 4.9.6 _ YITH WooCommerce Social Login: _Version
   1.2.1_ htaccess:
 *     ```
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       # REDIRECT frm non-www to www with https
       RewriteCond %{HTTP_HOST} !^www\. [NC]
       RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
       # force SSL
       RewriteCond     %{SERVER_PORT} ^80$
       RewriteRule     ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
       </IfModule>
       # END WordPress
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbroken-fb-login-loop%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/broken-fb-login-loop/#post-10439082)
 * Hi [@ayaskant](https://wordpress.org/support/users/ayaskant/)
    in the facebook
   app have you set the Valid Oauth URI in this way?
 * **[https://www.recurserve.com/wp-content/plugins/yith-woocommerce-social-login-premium/includes/hybridauth/facebook.php](https://www.recurserve.com/wp-content/plugins/yith-woocommerce-social-login-premium/includes/hybridauth/facebook.php)**
 *  Thread Starter [ayaskant](https://wordpress.org/support/users/ayaskant/)
 * (@ayaskant)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/broken-fb-login-loop/#post-10439246)
 * Yes I have and again authentication with Facebook works. No issue on that end.
   In fact despite the broken redirect the user gets logged in and can open their
   account in a new tab. The issue is when Facebook redirects back to my site (after
   auth) and onto the plugin endpoint. As you can see the plugin forgets to add 
   my domain name to the broken url.
 *  Thread Starter [ayaskant](https://wordpress.org/support/users/ayaskant/)
 * (@ayaskant)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/broken-fb-login-loop/#post-10440591)
 * Here is a [pasteboard ](https://pasteboard.co/HrQd6k5.png)of the issue. You can
   see the broken URL and the path the authentication loop follows from Firefox 
   Network Monitor
 *  Thread Starter [ayaskant](https://wordpress.org/support/users/ayaskant/)
 * (@ayaskant)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/broken-fb-login-loop/#post-10460823)
 * Any updates? A reply would be appreciated. Like “we are on it!” or “could you
   give more info?”or “we don’t have enough people to put on this at the moment”
   or “You are S’d in the B brother”. Anything works.
 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/broken-fb-login-loop/#post-10525521)
 * Hi,
    Can you send me your facebook app configuration ?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Broken FB login loop’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/yith-woocommerce-social-login_c899b9.
   svg)
 * [YITH WooCommerce Social Login](https://wordpress.org/plugins/yith-woocommerce-social-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-social-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-social-login/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-social-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-social-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-social-login/reviews/)

## Tags

 * [fb login](https://wordpress.org/support/topic-tag/fb-login/)

 * 5 replies
 * 2 participants
 * Last reply from: [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/broken-fb-login-loop/#post-10525521)
 * Status: not resolved