generic type "provider not defined" error
mykolq opened this issue · 5 comments
i wanna use it with generic sso type, configure it, but have en error
Provider not defined.
I've fix Array to string conversion in /var/www/html/glpi/plugins/singlesignon/inc/toolbox.class.php on line 17
by $url var in toolbox.class.php to $url .= "/provider/".$id['id'];
, but it still doesn't work , provider uri in developer mode of browser seems to be ok.
on the current master version (line 42), from:
$url .= "/provider/".$row['id'];
to:
$url .= "/provider/".$row;
on the current master version (line 42), from:
$url .= "/provider/".$row['id'];
to:
$url .= "/provider/".$row;
this "fix" doesn't work
it doesn't work for me either, but as I only have one provider I have replaced
$url .= "/provider/1";
and it works until waiting for better
it doesn't work for me either, but as I only have one provider I have replaced
$url .= "/provider/1";
and it works until waiting for better
That's strange for me both solutions are working.
$url .= "/provider/".$row;
and
$url .= "/provider/1";
How did you install glpi? I use the docker image diouxx/glpi and there it's working fine with $row
but not with $row['id']
.
PHP version: 8.3.4
GLPI version: 10.0.14
I'm accepting pull requests, 😄