couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: Couchdb + custom authentication
Date Thu, 19 Jan 2012 20:34:23 GMT
On Thu, Jan 19, 2012 at 12:25 PM, Rao Venugopal <venuzr@gmail.com> wrote:
> Thanks Benoit.  Just to clarify my understanding,
> a) I have to write a handler in erlang similar to
> https://github.com/YasuhiroABE/CouchDB-WebProxy_Auth_Handler/blob/master/couch_httpd_auth.erl
>


mmm why not using the proxy auth handler in couch ? Is the intention different ?
>
> b) I have to include my custom handler in the "*authentication_handlers* "
> section of configuration as
> {couch_httpd_auth, my_company_custom_cookie_authentication_handler}
>
> If there is a better sample for custom authentication handler, please
> recommend

Use the simple one i wrote that is actually in couch named
`proxy_authentification_handler`  it should help you.


- benoît

Mime
View raw message