You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Michael Scharrer <mi...@hotmail.de> on 2016/09/29 09:18:43 UTC

CouchDB 2.0.0 chttpd and authentication_handlers

Hello together,

currently I am using the new CouchDB 2.0.0. Just looking into the new [chttpd] config section (running on port 5984) it does not perform a way to use own authentication_handlers like in the [httpd] config section for the port 5986.

I want to use own authentication handlers (e.g. LDAP authentication or OAuth authentication) for the chttpd interface. In the source code of chttpd_auth.erl I found only default and cookie authentication.

Is there any way to modify the chttpd settings to use exactly the authentication_handlers from httpd?

Thanks

Michael

Re: CouchDB 2.0.0 chttpd and authentication_handlers

Posted by Daniel Holth <dh...@gmail.com>.
A patch to hard-code support for proxy authentication is attached to this
issue https://issues.apache.org/jira/browse/COUCHDB-3154

On Thu, Sep 29, 2016 at 5:18 AM Michael Scharrer <mi...@hotmail.de>
wrote:

> Hello together,
>
> currently I am using the new CouchDB 2.0.0. Just looking into the new
> [chttpd] config section (running on port 5984) it does not perform a way to
> use own authentication_handlers like in the [httpd] config section for the
> port 5986.
>
> I want to use own authentication handlers (e.g. LDAP authentication or
> OAuth authentication) for the chttpd interface. In the source code of
> chttpd_auth.erl I found only default and cookie authentication.
>
> Is there any way to modify the chttpd settings to use exactly the
> authentication_handlers from httpd?
>
> Thanks
>
> Michael
>