https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40736
--- Comment #5 from Alex Buckley <[email protected]> --- (In reply to David Cook from comment #3) > (In reply to Alex Buckley from comment #1) > > Hi, > > > > Thank you for reporting this. We are also encountering this error when human > > users are trying to log into the Koha OPAC (24.11.07) via OIDC from Chrome. > > I thought that you said that it was working in Chrome but not in Firefox and > only for Okta? Thanks for asking David! This is a new error we have recently encountered, also for Okta (the Koha IdP is configured to use protocol=OIDC). So separate to the login/logout/login we have inquired about. This error is not consistent, but the workflow is: - Start Chrome. - Go to either the Koha OPAC or staff client login page. - Click the 'Log in with Okta IdP' button. - You're re-directed to Okta. - After logging in, you're redirected back to Koha with an internal server error - screenshot attached from OPAC. I'm warning out the following (below this line https://git.koha-community.org/Koha-community/Koha/src/commit/2778a49fb16be18fc7ee0bc86983f8f9f0e16902/Koha/REST/V1/OAuth/Client.pm#L83 ): use Data::Dumper; warn Dumper($c->req->cookie('CGISESSID')); And in plack-api-error.log the $c->req->cookie('CGISESSID') is NULL and the error is thrown: [2025/09/22 05:39:33] [WARN] $VAR1 = undef; [2025/09/22 05:39:33] [ERROR] Can't call method "value" on an undefined value at /usr/share/koha/lib/Koha/REST/V1/OAuth/Client.pm line 86. -- You are receiving this mail because: You are the assignee for the bug. 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/
