Icinga / icingaweb2-module-nagvis

NagVis integration into Icinga web 2
GNU General Public License v2.0
39 stars 22 forks source link

External authentication does not work with module NagVis #40

Closed Baboon92 closed 5 years ago

Baboon92 commented 5 years ago

Expected Behavior

Starting a remote session should log you in icingaweb2 and NagVis via apache/httpd.

Current Behavior

Once a remote session starts, logging in via auto-login in icingaweb2, NagVis throws back a not authenticated message. log in as admin in icingaweb2, but the module NagVis does not authenticate

# vi /etc/httpd/conf.d/icingaweb2.conf
...
RewriteBase /icingaweb2/
RewriteCond %{REMOTE_ADDR} ^127\.0\.0\.1
RewriteRule ^(.*)$ - [E=REMOTE_USER:icingaadmin]
...
# vi /etc/icingaweb2/authentication.ini
[External]
backend = "external"

`

Your Environment

Baboon92 commented 5 years ago

I recognised the same issue already exists in #35.