Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for proxy authentication handling #105

Closed
kadriaen opened this issue Jul 7, 2015 · 2 comments
Closed

add support for proxy authentication handling #105

kadriaen opened this issue Jul 7, 2015 · 2 comments

Comments

@kadriaen
Copy link

kadriaen commented Jul 7, 2015

Hi,

Would it be feasible to add proxy authentication support as is available on Couchdb through the 'httpd:authentication_handlers' configuration setting?

We're looking into using pouchdb-server instead of a Couchdb instance, but need to be able to authenticate user credentials outside of pouchdb while still allowing pouchdb update filters to be applied in order to enforce per document write authorization.

Thanks!

@marten-de-vries
Copy link
Member

Definitely possible, but it hasn't been implemented yet by anybody as far as I know. A good example to start from would be the dummy session handler that is used by CouchDB's test suite. Also handy as a reference is our normal session implementation (cookie/http auth).

There might also be a few currently disabled tests you could reuse in couchdb-harness.

@nolanlawson
Copy link
Member

This is better handled by proxies on top of pouchdb-server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants