Unclear from docs - can this package encode using JWK? Or only decode/verify sig?
ahungry opened this issue · 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).