Closed skillful-alex closed 2 years ago
Valid JWK for HS256 key qwertyuiopasdfghjklzxcvbnm123456
is
{
"keys": [
{
"typ": "JWT",
"kty": "oct",
"alg": "HS256",
"kid": "df",
"k": "cXdlcnR5dWlvcGFzZGZnaGprbHp4Y3Zibm0xMjM0NTY="
}
]
}
The k attribute is base64 encoded.
I'm setting up a reverse-proxy (envoy) for validating the JWT. Envoy is waiting for the key in JWKs format. How can it be created for keys from your site? For HA256, I tried the following but it didn't work: