Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apparently outdated config identifier for basic auth #152

Open
TimothyGillespie opened this issue Jul 12, 2022 · 0 comments
Open

Apparently outdated config identifier for basic auth #152

TimothyGillespie opened this issue Jul 12, 2022 · 0 comments

Comments

@TimothyGillespie
Copy link

TimothyGillespie commented Jul 12, 2022

Environment:
SWISH Docker Container (swish/swish) in the latest version.

When trying to switch the basic auth by uncommenting the last line in

% :- set_setting_default(swish_authenticate:method, basic).

or

% :- set_setting_default(swish_authenticate:method, basic).

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant