rswickedwayz opened a new issue, #126:
URL: https://github.com/apache/couchdb-helm/issues/126

   **Describe the bug**
   A clear and concise description of what the bug is.
   
   I've been trying to enable JWT Authenitcation handler so an RSA token can be 
used to authenticate. I'm having difficulty getting this to work in my 
clustered couchdb environment. 
   
   
   **Version of Helm and Kubernetes**:
   helm ver 4.2.1
   Kubernetes v1.24
   
   
   **What happened**:
   I am trying to enable JWT authentication inside my values.yaml.  It does not 
appear to be working.  When I curl this it only returns cookie and default as 
the authentication handlers.
   
   curl https://admin:[email protected]/_session
   
   it returns this:
   
{"ok":true,"userCtx":{"name":"admin","roles":["_admin"]},"info":{"authentication_handlers":["cookie","default"],"authenticated":"default"}}
   
   
   Entries inside values.yaml were placed under couchdbConfig.
   couchdbConfig:
     couchdb:
       authentication_handlers: "{chttpd_auth, jwt_authentication_handler}, 
{chttpd_auth, cookie_authentication_handler}, {chttpd_auth, 
default_authentication_handler}"
       jwt_authentication_handler:
          rsa_public_key: 
"/Users/bebosley/repo/ade-azure-resources/core-apps/couchdb/engr/couchdb_engr_public_key.pem"
   
   **What you expected to happen**:
   
   I expect it to return jwt as one of the authentication_handlers. 
   
{"ok":true,"userCtx":{"name":"admin","roles":["_admin"]},"info":{"authentication_handlers":["cookie","jwt","default"],"authenticated":"default"}}
   
   **How to reproduce it** (as minimally and precisely as possible):
   
   
   **Anything else we need to know**:
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to