python-jose icon indicating copy to clipboard operation
python-jose copied to clipboard

Unclear from docs - can this package encode using JWK? Or only decode/verify sig?

Open ahungry opened this issue 3 years ago • 0 comments

I would like to setup an oauth2-server that serves the public JWKs, while providing JWTs that are signed via JWK asymmetric keys.

Can this package do that? If so, can someone show me a basic example of how it'd be done? (hopefully including a note on how to generate the JWK private/public pair of data structures that'd be compatible with this lib - I notice it mentions only public keys are supported in the brief docs that are available).

ahungry avatar Jun 06 '22 18:06 ahungry