edgardmessias / glpi-singlesignon

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

Redirection not working when session is not open #82

Open tomamplius opened 6 months ago

tomamplius commented 6 months ago

Navigate to glpi element like ticket 2899 https://domain.com/front/ticket.form.php?id=2899

Glpi detects that we are not logged in and redirects to the login page with the URL https://domain.com/index.php?redirect=/front/ticket.form.php?id=2899

After login, we are redirected to https://domain.com/front/central.php

But we want to be redirected to https://domain.com/front/ticket.form.php?id=2899

image

fgendorf commented 5 months ago

I've just made a PR to fix this issue on master