sensiblearts commented on issue #5343:
URL: https://github.com/apache/couchdb/issues/5343#issuecomment-2508083911

   @big-r81 Thank you again for your help.
   
   It took a lot of attempts, moving and changing config settings. It seems the 
thing that finally worked was:
   - moving all the `chttpd` and `chttpd_auth` stuff out of local.ini and into 
10-admins.ini
   - deleting the `secret` from the `ini` file and letting couch regenerate its 
own secret, then using that one in my application to generate the token.
   
   I tried a number of times changing the secret, but I was doing it by editing 
the ini file. I think the key is: **when you want to change the secret, delete 
it in the ini file and let couch create it.**
   
   (Also, I could be wrong because I'm basing this on my memory, but I think 
that just after the apt upgrade, the 10-admins.ini file -- modified by  the 
upgrade -- had the secret under the [admins] block, whereas it should be under 
the [chttpd_auth] block.)


-- 
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