lanto03 / couchdb-python

Automatically exported from code.google.com/p/couchdb-python
Other
0 stars 0 forks source link

Cookie Authentication #216

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
CouchDB supports HTTP Basic, Cookie, and OAuth authentication options. It would 
be great if couchdb-python made Cookie authentication available. It would take 
some extension to http.py, but should be a fairly minimal change.

Thanks!

Original issue reported on code.google.com by bigbluehat on 4 Oct 2012 at 8:25

GoogleCodeExporter commented 8 years ago
Since there is OAuth support patch (issue 158), probably we need to extend 
Session object to support custom auth providers: Basic(default), Cookie and 
OAuth(if oauth lib available).

Original comment by kxepal on 4 Oct 2012 at 8:43

GoogleCodeExporter commented 8 years ago
What's the use case for supporting cookie auth in a library like 
couchdb-python? My understanding is that it's only there to support pretty 
login forms, something a library (presumably) has no need for.

Original comment by matt.goo...@gmail.com on 9 Oct 2012 at 8:12

GoogleCodeExporter commented 8 years ago
Case is when user had been already auth'ed at CouchDB, you has cookie about, 
but no credentials. The basic example is CouchDB external process, which might 
been called by such user and which required to callback CouchDB for some 
additional data: it'll has userctx, cookies, but no user credentials to request 
CouchDB behind of scene unless you made by another user name which may create 
potentially issues.

Original comment by kxepal on 10 Oct 2012 at 1:37

GoogleCodeExporter commented 8 years ago
This issue has been migrated to GitHub. Please continue discussion here:

https://github.com/djc/couchdb-python/issues/216

Original comment by djc.ochtman on 15 Jul 2014 at 7:22