Please…
This plugin works so well with sites that have underlying Shibboleth login – it pulls the PHP session variables in and sets the username from the variable you choose. Can set the email address as well.
But it is broken in PHP8 due to a change. Here are the edits that are needed to make it work:
in the file: http-authentication.php
/* OLD WAY:
function HTTPAuthenticationPlugin() {
*/
/* NEW WAY: */
function __construct() {
in the file: options-page.php
/* OLD WAY:
function HTTPAuthenticationOptionsPage($plugin, $group, $page, $options, $title = 'HTTP Authentication') {
*/
/* NEW WAY: */
function __construct($plugin, $group, $page, $options, $title = 'HTTP Authentication') {
]]>
Hi, I used the plugin for the first time today. Now my admin page is locked and my credentials seems not to work, because it asks over and over again asking me about them (I stopped trying after 20 times). What can I do to deaktivate the PlugIn? I am not able to reach my admin page.
]]>Hi,
Is there any filter to whitelist certain path
https://example.com/something.php
https://example.com/wp-json/something/xyz
with no-auth access while keeping authentication for complete site?
Thanks & Regards,
Gulshan
hi, I’ve configured the plugin & it’s just in an authentication loop: challenge, enter user/pass, challenge reappears. On both ‘just admin’ and ‘whole site’ settings.
Can you tell me whether the user & password is saved into the database (& where) or as a traditional .htpasswd file? (& where in relation to the site root) – in the latter case, there might be permissions issues with my hosting that I can resolve.
thanks, Ash
]]>Hello,
I tried it on one site and was unfortunatly not working.
HTTP Auth version 0.3.2
WP 4.9.9
After installation and activation (complete site)
using a pw and login which was similar I got this
(1) htaccess
# BEGIN HTTP Auth
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>
# END HTTP Auth
(2) FE error
Notice: Undefined offset: 1 in /html/wp-content/plugins/http-auth/frontend/class-http-auth.php on line 35
Warning: Cannot modify header information – headers already sent by (output started at /html/wp-content/plugins/http-auth/frontend/class-http-auth.php:35) in /html/wp-content/plugins/http-auth/frontend/class-http-auth.php on line 48
Warning: Cannot modify header information – headers already sent by (output started at /html/wp-content/plugins/http-auth/frontend/class-http-auth.php:35) in /html/wp-content/plugins/http-auth/frontend/class-http-auth.php on line 49
Gretings,
martin
Hi,
It seems that you use $this variable inside static functions in http-auth-main.php, which is a mistake and settings page dosen’t work. Could you replace $this with class name ‘HTTP_Auth_Admin’?
Thanks.
]]>Hello everyone, I installed the plugin and configured it as directed, but it does not login, it stays in the popup screen only.
The user data and password are correct but it does not access, I have already tried several characters and to no avail.
Can you help me?
]]>I would like to protect a single url, not a login or admin page, one that is generating a feed produced by the Simple History Plugin:
https://mydomain.com/?simple_history_get_rss=1&rss_secret=trityperoustosanderfer
Would be very cool if this is possible.
thx
stu
Hi,
This seems to be exactly what I need.
Unfortunately it is not working. I just get the popup again and again.
Is there anything I can do to debug this?
Thanks,
Adrian
]]>