edgardmessias / glpi-singlesignon

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

SSO Type Generic still do not work .. #78

Open NoCoker opened 10 months ago

NoCoker commented 10 months ago

GLPI 10.0.10 with latest Plugin from last night! 11.11.2023 I use SSO Type Generic

On Config page i get a https://glpi.xxxx.cloud/plugins/singlesignon/front/provider.form.php?id=1 Warning: Trying to access array offset on value of type int in /var/www/plugins/singlesignon/inc/toolbox.class.php on line 42 42: $url .= "/provider/".$row['id'];

Login Button is displayed but after clicking got: Provider not defined. Return to previous page

NoCoker commented 10 months ago

If i change inc/toolbox.class.php on line 42 to: $url .= "/provider/".$row; the latest version works for me again!

certor3000 commented 9 months ago

Hello, I have the same problems, and tested $url .= "/provider/".$row; on inc/toolbox.class.php. This doesn't exatly work, because it logs whith superadmin glpi account all time.

Do you have other solution ?