[Koha-bugs] [Bug 34164] OAuth2/OIDC should redirect to page that initiated login

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 14 05:38:20 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34164

Nicholas van Oudtshoorn <vanoudt at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #163128|0                           |1
        is obsolete|                            |

--- Comment #6 from Nicholas van Oudtshoorn <vanoudt at gmail.com> ---
Created attachment 163129
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163129&action=edit
Patch to redirect on login

A quick patch which enables this. This also strips out the logout parameter
from the referring URI, so that we don't end up in a loop. It also checks that
the referring URI is part of the koha installation, and if not goes to either
the main page or the user page. 
(Obsoleting old patch which I managed to mangle!)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list