edgardmessias / glpi-singlesignon

GNU General Public License v3.0
68 stars 51 forks source link

Undefined index: glpilanguage in gives "User is not authorized to connect in GLPI " #53

Open titansmc opened 1 year ago

titansmc commented 1 year ago

I am running 10.0.3 with latest plugin, and I get those errors

Notice: Undefined index: glpilanguage in /var/www/html/glpi/src/Html.php on line 1228

Notice: Undefined index: in /var/www/html/glpi/src/Html.php on line 1228

Notice: Trying to access array offset on value of type null in /var/www/html/glpi/src/Html.php on line 1228

image

Mr-EJ commented 1 year ago

This happens when the user doesn't already exist in GLPI The plugin is missing the ability to do JIT addition of an authenticated user.

saamium commented 1 year ago

I have users imported already from LDAP. But they also can't sign in first when they go to login screen. They need to login through LDAP and go to their profile setting and link it to google.