Open hpop opened 3 months ago
After writing this, I discovered that the issue seems to be resolved when both require_valid_user
and require_valid_user_except_for_up
are set to true.
If this is the intended behavior, the documentation may be misleading.
Description
When setting
require_valid_user_except_for_up
instead ofrequire_valid_user
in the CouchDB configuration, the system does not prompt for username and password when accessing the_utils
endpoint. Instead, a 401 is returned.{"error":"unauthorized","reason":"Authentication required."}
When changing the configuration back to
require_valid_user
, the basic authentication prompt appears as expected.Steps to Reproduce
require_valid_user_except_for_up = true
in local.ini_utils
endpoint (e.g.,http://localhost:5984/_utils
).Expected Behaviour
The
_utils
endpoint should prompt for authenticationYour Environment
local.ini