lua-resty-openidc icon indicating copy to clipboard operation
lua-resty-openidc copied to clipboard

added support ES256&ES512 alg

Open 840963657 opened this issue 2 years ago • 2 comments

840963657 avatar Nov 28 '22 08:11 840963657

lua-resty-jwt support ES256&ES512 alg

840963657 avatar Nov 28 '22 08:11 840963657

thank you @840963657 - one needs at least lua-resty-jwt 0.2.1 for this if I understand the changes over there correctly, right?

Don't we also need to change the code that supports JWT based authentication (lines 466 and 476 at least, which would likely also require something like a client_ec_private_key opts setting)? Also I believe the JWK parsing code needs to be extended, it currently only extracts RSA keys.

bodewig avatar Dec 27 '22 10:12 bodewig