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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 30 05:35:23 CEST 2023


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

            Bug ID: 34164
           Summary: OAuth2/OIDC should redirect to page that initiated
                    login
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Authentication
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: dcook at prosentient.com.au
        QA Contact: testopia at bugs.koha-community.org
                CC: dpavlin at rot13.org

At the moment, a successful OAuth2/OIDC login is sent to
opac-user.pl/opac-main.pl or mainpage.pl instead of the page that initiated the
login process.

With Shibboleth, we manage this using the "target" URL, so that the Shibboleth
login is processed by whatever page initiated it, but that doesn't work with
OAuth2/OIDC and the "redirect_uri" since we're using an API endpoint. 

However, all we need to do is save the current path in the user's session, and
then recall it after the successful login.

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


More information about the Koha-bugs mailing list