Title: Facebook Re-authentication
Last modified: August 22, 2016

---

# Facebook Re-authentication

 *  Resolved [serie3369](https://wordpress.org/support/users/serie3369/)
 * (@serie3369)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/facebook-re-authentication/)
 * When people log into my website, I don’t want Nextend to just log whoever is 
   logged into Facebook at the time. I see that along with a lot of others as a 
   security hazard. When you click the login Facebook link, I want Nextend to have
   Facebook re-authenticate the user by making them retype in their password if 
   they are already logged in. How do we go about adding Re-authenticate?
 * [https://wordpress.org/plugins/nextend-facebook-connect/](https://wordpress.org/plugins/nextend-facebook-connect/)

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

 *  Thread Starter [serie3369](https://wordpress.org/support/users/serie3369/)
 * (@serie3369)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/facebook-re-authentication/#post-5521631)
 * I assume it would have to deal something around Facebook’s Reauth login flow 
   makeup that you are using. [https://developers.facebook.com/docs/facebook-login/reauthentication](https://developers.facebook.com/docs/facebook-login/reauthentication)
 *  Thread Starter [serie3369](https://wordpress.org/support/users/serie3369/)
 * (@serie3369)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/facebook-re-authentication/#post-5521827)
 * Can someone please help, this is kind of a security issue. It would be nice.
 *  Plugin Author [Nextendweb](https://wordpress.org/support/users/nextendweb/)
 * (@nextendweb)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/facebook-re-authentication/#post-5521902)
 * Hi!
 * Could you try the following?
    Find these lines:
 *     ```
       $loginUrl = $facebook->getLoginUrl(array(
          'scope' => $scope
       ));
       ```
   
 * Replace with these:
 *     ```
       $loginUrl = $facebook->getLoginUrl(array(
          'scope' => $scope,
          'auth_type' => 'reauthenticate'
       ));
       ```
   
 * I’m not sure if it works or not, haven’t tested, but it worth a try. Please inform
   about your result!
 *  Thread Starter [serie3369](https://wordpress.org/support/users/serie3369/)
 * (@serie3369)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/facebook-re-authentication/#post-5521911)
 * Thank you so much! It worked! If anyone else would like to do this its in file-
   path “nextend-facebook-connect/nextend-facebook-connect.php” Amazing security
   measure.

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

The topic ‘Facebook Re-authentication’ is closed to new replies.

 * ![](https://ps.w.org/nextend-facebook-connect/assets/icon.svg?rev=3336394)
 * [Nextend Social Login and Register](https://wordpress.org/plugins/nextend-facebook-connect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextend-facebook-connect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextend-facebook-connect/)
 * [Active Topics](https://wordpress.org/support/plugin/nextend-facebook-connect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextend-facebook-connect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextend-facebook-connect/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [serie3369](https://wordpress.org/support/users/serie3369/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/facebook-re-authentication/#post-5521911)
 * Status: resolved