Basic-Auth icon indicating copy to clipboard operation
Basic-Auth copied to clipboard

Fix for Basic Auth not being passed through with PHP in CGI mode

Open graham73may opened this issue 9 years ago • 8 comments
trafficstars

#1 Issue fixed.

PHP_AUTH_USER & PHP_AUTH_PW are now being set if PHP is using fast CGI

graham73may avatar Mar 21 '16 11:03 graham73may

FYI pulled into https://github.com/eventespresso/Basic-Auth

mnelson4 avatar May 09 '16 17:05 mnelson4

This is sorely needed, this was hard to track. Please consider merging.

sebastienbarre avatar Jul 08 '16 03:07 sebastienbarre

Just flagged this in core slack to see if @rmccue et al can take a look

kadamwhite avatar Jul 08 '16 04:07 kadamwhite

Any progress on this issue? For the moment I am using @mnelson4 version https://github.com/eventespresso/Basic-Auth which works A+

bigandy avatar Dec 08 '16 17:12 bigandy

The solution developed here https://github.com/eventespresso/Basic-Auth is the best one in my opinion because it does not suggest any Apache-specific solutions. The handling of HTTP headers is best handled in PHP, then the plugin just works with any web server. Thanks @mnelson4!

alkema avatar Apr 05 '17 17:04 alkema

@rmccue Could you review this?

kadamwhite avatar Jun 26 '17 17:06 kadamwhite

Thanks so much, this fixed my issue with Basic Authentication not working :+1:

MrToph avatar Feb 15 '18 22:02 MrToph

This was approved a year ago.

A number of hosts use FastCGI and telling customers to use an htaccess workaround to force HTTP for auth is not really a good security practice. Can this please be revisited for WP 5.5?

Ipstenu avatar May 22 '20 17:05 Ipstenu