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

David Cook <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #33 from David Cook <[email protected]> ---
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.
_______________________________________________
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/

Reply via email to