https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34164
Nicholas van Oudtshoorn <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #164979|0 |1 is obsolete| | --- Comment #17 from Nicholas van Oudtshoorn <[email protected]> --- Created attachment 164980 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=164980&action=edit [PATCH] Allow OAuth login to redirect to referring url on successful login Redirection to referring URL on successful OAuth2 Login. Updated following David's comments: 0. Removes some ugly debug statement that snuck into the patch! 1. Enables the service for both the staff and the opac interfaces. 2. Uses "auth-refer-ui" as the session variable name. 3. Validates the referrer input before setting it as a session variable. 4. Uses perl syntax a bit better; perl isn't my preferred language, and it shows! Thanks David! 5. Only deals with OIDC/OAuth2, bug 36617 has been created to deal with the googleopenidconnect service. 6. Changes the regexp to /^\Q$host\E as a security measure. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
