You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by gi...@git.apache.org on 2017/08/11 16:47:57 UTC

[GitHub] wohali commented on issue #747: proxy authentication still not configurable

wohali commented on issue #747: proxy authentication still not configurable
URL: https://github.com/apache/couchdb/issues/747#issuecomment-321863089
 
 
   Our test passes, so this looks like you're missing the correct information (and our documentation is probably out of date).
   
   Use the following stanzas:
   
   ```
   [httpd]
   authentication_handlers = {chttpd_auth, proxy_authentification_handler}, {chttpd_auth, default_authentication_handler}
   
   [chttpd_auth]
   authentication_db = _users
   x_auth_username = X-Auth-CouchDB-Username
   x_auth_roles = X-Auth-CouchDB-Roles
   x_auth_token = X-Auth-CouchDB-Token
   proxy_use_secret = false
   secret = secret
   ```
   
   See https://github.com/apache/couchdb/blob/master/test/javascript/tests/proxyauth.js#L108-L131
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services