-
So I'm a little confused here. If I start a session with couch-auth and use the generated token+password in a standard basic auth header in a request to couchdb like so
The old superlogin-client code appears to do the same. But asking on couchdb's slack, it sounds like couch only uses Bearer auth when couch is configured for JWT? And this doesn't actually use JWT, right? So is Bearer auth only for requests to couch-auth's node server, and requests to the couchdb server must use Basic auth? Appreciate the project btw, nice work :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Yes:
|
Beta Was this translation helpful? Give feedback.
Yes:
couch-auth
or to your own routes that you protect viacouch-auth
(see here) you need to use the bearer tokencouch-auth
doesn't have JWT support.