Apparently outdated config identifier for basic auth
Opened this issue · 0 comments
TimothyGillespie commented
Environment:
SWISH Docker Container (swish/swish) in the latest version.
When trying to switch the basic auth by uncommenting the last line in
or
swish/config-available/auth_http.pl
Line 33 in fd7e658
It does not seem to work. The Authorization header in SWISH is still digest, and the following warning is given:
swipl-swish | ERROR: /data/config-enabled/auth_http_always.pl:33:
swipl-swish | ERROR: setting `swish_authenticate:method' does not exist
swipl-swish | Warning: /data/config-enabled/auth_http_always.pl:33:
swipl-swish | Warning: Goal (directive) failed: config_auth_http_always:set_setting_default(swish_authenticate:method,basic)
swipl-swish | % Started server at http://localhost:3050/
I tried different ways to set this config without any success, but I don't understand the project well enough to find the correct one. Using HTTP basic auth would be very practical, as it is much easier for using the API.