Closed hpsjakob closed 1 year ago
Hello This plugin support only PEM encoded "keys". You can't pass an arbitrary string. Nothing more I can help with :(
Unfortunately software like organizr only supports a simple simmetric key, I'll see if I can implement it somehow myself
Currently the only way to use symmetric keys is using the JWKS url. For instance:
{ "keys": [ { "kty": "oct", "alg": "HS256", "kid": "foobar", "k": "Fdh9u8rINxfivbrianbbVT1u232VQBZYKx1HGAGPt2I" } ] }
(Where 'k' is the base64 encoded symmetric key). If you want to specify the key using the config file, we'll need to adjust the 'ParseKeys' method.
Hi,
I'm trying to use this plugin with a simple symmetric key. For example:
Eekee9saaBus7shoh1hau6lahYo9ah
. I tried to specify it in the config like this:But I get the following error:
The readme stats:
However, I did not get how to specify my symmetric key here. Could you give me a hint how to achieve this?
Thank you for your time in advance!