Title: HTTP Authentication support
Last modified: April 11, 2022

---

# HTTP Authentication support

 *  [luca1996o](https://wordpress.org/support/users/luca1996o/)
 * (@luca1996o)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/doesnt-support-http-authentication/)
 * As their support told me about this plugin, it doesn’t support HTTP Authentication:
   a must have for security on WordPress.
 * Edit: actually they support HTTP Authentication, you just need to adapt your 
   weberver’s configuration to let FluentForms accepts authentication. I’d like 
   to thank Fluent Forms’ support to their excellent support.
    -  This topic was modified 4 years, 1 month ago by [luca1996o](https://wordpress.org/support/users/luca1996o/).
    -  This topic was modified 4 years, 1 month ago by [luca1996o](https://wordpress.org/support/users/luca1996o/).

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

 *  [Gulshan Kumar](https://wordpress.org/support/users/thegulshankumar/)
 * (@thegulshankumar)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/doesnt-support-http-authentication/#post-15505666)
 * I am a Fluent Form user who happily uses HTTP Auth together to protect WP login
   page.
 * Are you using HTTP Auth to protect WordPress Login Page?
    –_ If yes, you need
   to ensure that you do not accidently block the ajax request path._
 * **Here’s a proper way to setup HTTP Auth for NGINX **
 *     ```
       location ^~ /wp-login.php {
       satisfy any;
       allow 127.0.0.1;
       deny all;
        auth_basic           "Secure Area";
        auth_basic_user_file /var/www/.htpasswd; # Path to your password file
        fastcgi_pass unix:/run/php/php8.0-fpm.sock;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param SCRIPT_NAME $fastcgi_script_name;
       }
       ```
   
 * **Here’s a proper way to setup HTTP Auth for Apache2 server**
 *     ```
       <Files wp-login.php>
       AuthUserFile /var/www/.htpasswd
       AuthName "Private access"
       AuthType Basic
       require valid-user
       </Files>
       ```
   
 *  Thread Starter [luca1996o](https://wordpress.org/support/users/luca1996o/)
 * (@luca1996o)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/doesnt-support-http-authentication/#post-15514604)
 * Hi Gulshan!
 * Thank you for your suggestions, but it still doesn’t work.
 * I’m using Nginx as a web server. I tried your solution and many others, playing
   around for 2 hours, with no solution.
 * I think I’m gonna leave Fluent Forms…
 * Thank you anyway!

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

The topic ‘HTTP Authentication support’ is closed to new replies.

 * ![](https://ps.w.org/fluentform/assets/icon-256x256.png?rev=3354580)
 * [Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder](https://wordpress.org/plugins/fluentform/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fluentform/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fluentform/)
 * [Active Topics](https://wordpress.org/support/plugin/fluentform/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fluentform/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fluentform/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [luca1996o](https://wordpress.org/support/users/luca1996o/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/doesnt-support-http-authentication/#post-15514604)