I’m having an issue authenticating users on the web gui since going to librenms version 1.64.1 from 1.63. If I try to authenticate using either SSO or HTTP-AUTH the user gets redirected to the login page.
I take SSL cert credentials from the headers and use this to create users using SSO attributes.
I’ve been using SSO to pass the global variable $_SERVER[‘PHP_AUTH_USER’] as the username (along with the other user attributes) and this has worked fine up until going to the latest code. If I try this using http-auth the same happens. When I switch back to mysql auth and check the users I see that they have been created successfully with SSO and http-auth, but it seems after authenticating using these methods the user gets redirected to the login page and not taken to the home page.
$ ./validate.php
Component | Version |
---|---|
LibreNMS | 1.64.1-35-gff55be7 |
DB Schema | 2020_05_24_212054_poller_cluster_settings (166) |
PHP | 7.4.6 |
Python | 3.6.8 |
MySQL | 10.4.13-MariaDB-log |
RRDTool | 1.7.2 |
SNMP | NET-SNMP 5.7.2 |
====================================
[OK] Composer Version: 1.10.7
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct