[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:13:08 CET 2024


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vanoudt at gmail.com
           Assignee|koha-bugs at lists.koha-commun |vanoudt at gmail.com
                   |ity.org                     |
             Status|NEW                         |Needs Signoff

--- Comment #3 from Nicholas van Oudtshoorn <vanoudt at gmail.com> ---
Created attachment 163127
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163127&action=edit
Return to the referring URL when signing in using GoogleOpenID

Just threw together a quick patch which enables this. This also strips out the
logout parameter from the referring URL, so that we don't end up in a loop. It
would be good to also check that the referring URI is part of the koha
installation, and if not go to the main library page.

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


More information about the Koha-bugs mailing list