[1.4.0] New jwks private key generated on each request?
I'm not exactly sure if that's a but or a feature, but after upgrading to 1.4.0 my JWT-based service is not able to verify tokens sent by client. After digging deeper I see the table
jwks on local env has already >400 rows, each with different private key and 100 of them is returned on /api/auth/jwks which I guess is default list limit. Feels like each request create a new priv key entry (not sure which request)
My jwt server plugin setup:
In the service I check JWT which throws
The error:
2 Replies
After short investigation I'd say (not 100% sure) that 1.4.0-beta.25 is last working version which generates single priv key
cc @bekacru