go-authcrunch icon indicating copy to clipboard operation
go-authcrunch copied to clipboard

feature: add possibility to specify JWKs key for authorizer

Open lukedirtwalker opened this issue 2 years ago • 0 comments

A clear and concise description of what you want the system to do.

Currently we can use JWKs from an URL when using the IDP plugin. But to support the client credentials OAauth flow where the server would already get a token signed by someone else it would be helpful to support JWKS fetched from an URL.

The implementation could leverage https://github.com/MicahParks/keyfunc. I would probably extend the key_config source to have a value indicating that it should fetch the JWKs.

I would be happy to contribute this feature, if you tell me whether the what I propose roughly makes sense.

lukedirtwalker avatar Nov 09 '22 13:11 lukedirtwalker