CouchDB Proxy Authentication Doesn't work -
when send http request couchdb server shown in docs here couchdb proxy authentication, doesn't give response shown in docs, empty data. doing wrong?
also, able start session proxy auth? if try post /_session, 500 error code.
get /_session http/1.1
host: 127.0.0.2:5984
user-agent: curl/7.51.0
accept: application/json
content-type: application/json; charset=utf-8
x-auth-couchdb-username: john
x-auth-couchdb-roles: blogger< http/1.1 200 ok
< cache-control: must-revalidate
< content-length: 132
< content-type: application/json
< date: sun, 06 nov 2016 01:10:58 gmt
< server: couchdb/2.0.0 (erlang otp/17)
< {"ok":true,
"userctx":{"name":null,"roles":[]},
"info":{"authentication_db":"_users","authentication_handlers":["cookie","default"]}}
it's not proxy authentication broken in couchdb 2.0, it's in current release there's no way configure authentication handlers there in old 1.6 days.
there patches mentioned in issue tracker add proxy authentication list of authentication handlers. furthermore there pull request accepted , merged brings configurability couchdb 2.0.
however in order take advantage of i'm afraid either have wait until next release, or build couchdb 2.0 sources.
Comments
Post a Comment