couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Chiverton>
Subject Trouble setting up proxy auth
Date Thu, 01 Oct 2015 10:42:16 GMT
I'm trying to get CouchDB to use an Apache front end for authentication.

To do this I've made sure authentication_handlers includes the proxy 

authentication_handlers = {couch_httpd_oauth, 
oauth_authentication_handler}, {couch_httpd_auth, 
cookie_authentication_handler}, {couch_httpd_auth, 
proxy_authentication_handler}, {couch_httpd_auth, 

But I can't do normal admin actions by supplying the expected headers:
# curl --header "X-Auth-CouchDB-UserName: admin" --header 
"X-Auth-CouchDB-Roles: admin,user" -X PUT http://localhost:5984/new/
{"error":"unauthorized","reason":"You are not a server admin."}

I'm basing this on

Is there some step I missed ?

*Tom Chiverton*
Lead Developer
e: <>
p: 	0161 817 2922
t: 	@extravision <>
w: <>

Extravision - email worth seeing <>
Registered in the UK at: 107 Timber Wharf, 33 Worsley Street, 
Manchester, M15 4LD.
Company Reg No: 0‌‌5017214 VAT: GB 8‌‌24 5386 19

This e-mail is intended solely for the person to whom it is addressed 
and may contain confidential or privileged information.
Any views or opinions presented in this e-mail are solely of the author 
and do not necessarily represent those of Extravision Ltd.

View raw message