Skip to content

Apparently outdated config identifier for basic auth #152

@TimothyGillespie

Description

@TimothyGillespie

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions