https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22132 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au --- Comment #33 from David Cook <dcook@prosentient.com.au> --- Unfortunately, RESTBasicAuth doesn't work with CGI. Admittedly, it would be an unfortunate idea to use the API with CGI, but it's worth noting. To test (w/ koha-testing-docker): 1. koha-plack --disable kohadev 2. restart_all 3. curl -u koha:koha http://localhost:8080/api/v1/patrons 4. Observe the following response: {"error":"Authentication failure."} After a bit of debugging, it appears that Mojolicious doesn't detect the Authorization header. It'll just have the accept, user-agent, and host headers. -- You are receiving this mail because: You are watching all bug changes.