[Koha-bugs] [Bug 30988] Add generic OpenIDConnect client implementation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 27 08:22:40 CEST 2022


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

--- Comment #36 from David Cook <dcook at prosentient.com.au> ---
The reason I was thinking about that was that we don't really need to use
checkauth() here...

At the end of the day, all we really need to do is create a Koha session,
create a CGISESSID cookie with the session ID as the value, and then redirect
wherever. 

If we want to check if we're already authenticated, all we need to do is the
same thing checkauth() is doing:

( $return, $session, $more_info ) = check_cookie_auth( $sessionID, $flags, {
skip_version_check => 1 });

I've opened bug 31050 to make it easier to create a Koha session...

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


More information about the Koha-bugs mailing list