-
Hello. Currently, I'm supporting an outdated project which uses HS256 algo in JWT.
For now, it's not clear how to configure HS256 JWT with a custom passphrase for the following handlers: I assume it can be done by placing jwks.json with a specific format, but all the examples on the Internet are with RS256. Best regards. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Let me answer to myself: https://tools.ietf.org/id/draft-jones-jose-json-private-and-symmetric-key-00.html#kOctDef
|
Beta Was this translation helpful? Give feedback.
Let me answer to myself: https://tools.ietf.org/id/draft-jones-jose-json-private-and-symmetric-key-00.html#kOctDef
{ "keys": [ { "kty": "oct", "use": "sig", "kid": "sig-1624969245", "k": "c29tZS1zZWNyZXQ", "alg": "HS256" } ] }