incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Derrick Oswald <>
Subject proxy basic auth issue
Date Sat, 16 Aug 2014 13:08:56 GMT

I've successfully added a couple of proxies to the [httpd_global_handlers]
configuration. One of them uses basic auth. To get that one to work though,
I have to remove the default_authentication_handler from the list of
authentication_handlers in the [httpd] configuration. Otherwise, the
Authorization:Basic header is incorrectly rejected (401 Unauthorized)
despite couchdb being in Admin Party! mode and the request never gets to be

The trouble is, without the default_authentication_handler, document
updates (using erica for example) fail with the message
{"error":"unauthorized","reason":"You are not a db or server admin."}. So I
guess the default_authentication_handler has to be included.

Is there a mechanism for the default_authentication_handler to ignore the
Authorization:Basic header for proxied URLs?
Or put another way, has anyone had success with authenticated proxied
servers in couchdb?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message