You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/06/21 17:48:51 UTC

[GitHub] [couchdb] PhamMinhNgoc edited a comment on issue #2947: JWT settings not working

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


----------------------------------------------------------------
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:
users@infra.apache.org