[Koha-bugs] [Bug 17050] Accessing the REST API through Plack kicks the session out
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Aug 17 00:24:09 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17050
--- Comment #9 from Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no> ---
So I narrowed down the problem:
session is created by a simple auth session module we wrote largely mimicking
svc/authentication.
Noticed that the $ip param is missing from the session, and neither ip nor
_SESSION_REMOTE_ADDR is present in the mysql session storage.
So I guess svc/authentication and other CGI scripts pass $ip somehow or
generates by ENV{REMOTE_ADDR}, and we will have to adjust to that. Or revert to
use svc/authentication. Or address some other API authentication bugs.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list