PhamMinhNgoc edited a comment on issue #2947:
URL: https://github.com/apache/couchdb/issues/2947#issuecomment-647159650


   in your case, you can use multi scret key and alg (hmac or rsa):
   hmac: foo= aGVsbG8=
   hmac:bar= aGVsbG8y
   
   and in jwt token, you need set kid claim "kid":"foo" or "kid":"bar" for 
using hmac secret key for the corresponding .
   example: 
   
   > {
   >   "kid": "foo",
   >   "iat": 1592134925,
   >   "exp": 1595134925,
   >   "sub": "replace with your username in your database"
   > }
   


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to