ILEastic icon indicating copy to clipboard operation
ILEastic copied to clipboard

JWK

Open JuanmaAlcudia opened this issue 3 years ago • 2 comments

It will be good to have an extension to the JWT utils to be able to decrypt a token using a JWK instead of a key as this is the normal case for many token providers. https://www.rfc-editor.org/rfc/rfc7517

JuanmaAlcudia avatar Mar 16 '23 15:03 JuanmaAlcudia

Thanks for the input.

I will discuss this the group and find a solution.

The JWT is split to atoms in the current support. However JWK is a different animal

tor. 16. mar. 2023 kl. 22.19 skrev JuanmaAlcudia @.***>:

It will be good to have an extension to the JWT utils to be able to decrypt a token using a JWK instead of a key as this is the normal case for many token providers. https://www.rfc-editor.org/rfc/rfc7517

— Reply to this email directly, view it on GitHub https://github.com/sitemule/ILEastic/issues/117, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVIPHQWV2H6QV4PGVGMCH3W4MVPTANCNFSM6AAAAAAV5LOK5E . You are receiving this because you are subscribed to this thread.Message ID: @.***>

NielsLiisberg avatar Mar 16 '23 15:03 NielsLiisberg

JWKS support is added part of latest changes. caller needs to implement procedure to hit your JWKS end point and retrieve the key.

cgvenu avatar Apr 21 '23 10:04 cgvenu

To use a JWK(S) stream file for setting the JWT verifying options use the procedure il_jwt_addVerifyOptionsFromJwks, see https://github.com/sitemule/ILEastic/blob/master/plugins/jwt/jwtplugin.rpginc#L70 .

m1h43l avatar Jun 20 '24 14:06 m1h43l