SSO auth says no user


#1

I am trying to log into my previously running instance that is setup with sso auth. I am getting an error now “External Authentication Failed” with popup errors “$config[‘sso’][‘user_attr’] was not found or was empty” and “No user () []”. When I switch back to mysql auth I am able to log into the web interface using my previously setup local credentials. Anyone else experiencing this error?


#2

I’ve run the validate check and everything comes back fine.

./validate.php

Component Version
LibreNMS 1.43-82-gcf31776
DB Schema 267
PHP 7.2.9
MySQL 5.5.60-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2

====================================

[OK] Composer Version: 1.7.2
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

When I run the auth_test.php in the scripts folder, everything looks ok to me:

./scripts/auth_test.php -u redacted
Authentication Method: sso
Password:
Authenticate user redacted:
AUTH SUCCESS

User (6):
user_id => 6
auth_type => sso
auth_id => 6
username => redacted
realname =>
email =>
descr => SSO User
level => 10
can_modify_passwd => 0
created_at => 2018-09-17 08:24:42
updated_at => 2018-09-17 08:24:42

I’m kind of at a loss as to the issue. Any help would be appreciated.


#3

I have the exact same problem here, is there any solution/explanation available?

If you figured it out could you please post the resolution here @Brian_Brown?