Jump to content

Extension talk:AuthRemoteUser

Add topic
From mediawiki.org
Latest comment: 15 days ago by Tallitsch in topic AuthRemoteUser & MediaWiki 1.42.x

AuthRemoteUser & MediaWiki 1.42.x

[edit]

Upgraded mediawiki from v1.41.x to 1.42.x. I had to remove the auth_remoteuser configuration as it used hooks capability which was removed in v1.42.x. I tried to use PluggableAuth and AuthRemoteUser. I followed the instructions, and it appears the REMOTE_USER variable is missing in v1.42. I was able to get the variable back by altering /etc/php-fpm.d/www.conf with clear_env = no, and updated httpd with the following "SetEnvIf Authorization "(.*)" REMOTE_USER=$1" in /etc/httpd/conf.d/mediawiki.conf. I can see the variable now, but there is no value.

<?php

phpinfo();

?>

Also, in debugging I am getting the error pluggableauthlogin0 is deprecated.

Does AuthRemoteUser current version supported in MediaWiki 1.42.1?

Any help would be greatly appreciated.

Tallitsch (talk) 14:01, 20 October 2024 (UTC)Reply