https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37060 --- Comment #45 from Jan Kissig <bibliothek@th-wildau.de> --- (In reply to David Cook from comment #44)
(In reply to Jan Kissig from comment #43)
Every time before committing the circulation data to Koha, KOCT sends a
GET /cgi-bin/koha/svc/authentication
and retrieves SESSIONID and CSRF-Token from that response. If the response is like
<status>ok
the circulation data is POSTed to /cgi-bin/koha/offline_circ/service.pl.
If the response is like
<status>expired
a POST /cgi-bin/koha/svc/authentication is made.
So KOCT checks the auth status every time before sendign data to Koha but will re-auth when a session is expired.
That sounds slightly problematic. Before doing "POST /cgi-bin/koha/svc/authentication" I think a new "GET /cgi-bin/koha/svc/authentication" will be needed to get a new session, because the old one will have been deleted so the CSRF token for that POST won't work.
you mean a second GET /cgi-bin/koha/svc/authentication when the first GET /cgi-bin/koha/svc/authentication returns an 'expired'? -- You are receiving this mail because: You are watching all bug changes.