fabric icon indicating copy to clipboard operation
fabric copied to clipboard

Enable better authentication mechanism for CouchDB

Open ajayatdlt opened this issue 3 years ago • 1 comments

Currently, Peer uses the username and password authentication for the CouchDB authentication. We should be looking at improving the authentication mechanism. CouchDB supports the following types of authentication.

  • Basic
  • Cookie
  • Proxy
  • JWT https://docs.couchdb.org/en/3.2.0/api/server/authn.html We should be looking for enhancing the authentication by having other mechanism apart from Basic.

ajayatdlt avatar Apr 05 '22 15:04 ajayatdlt

Hello team, I am working on this issue. Requesting you to assign the same to me.

aviralagrawalDLT avatar Sep 21 '22 11:09 aviralagrawalDLT

Hello team, in order to facilitate these changes, a PR has been created on version 2.2.2 as a direction for moving forward toward this feature support - https://github.com/dltglobal/fabric/tree/2.2.2-couchdb-jwt-support. Commit for the same is https://github.com/dltglobal/fabric/commit/8cfb6b6bcd4dabc0c45cfd1dc7118ddd8dbabc95

Any reviews on the same are welcome and appreciated.

aviralagrawalDLT avatar Dec 16 '22 06:12 aviralagrawalDLT