Replies: 1 comment
-
Yes. You're supposed to pass a JWK formatted key, not a jose.JWK.Key representation of a key. Specifically so that the libraries aren't interlinked on the public API surface. Use https://github.com/panva/jose/blob/v2.0.2/docs/README.md#keytojwkprivate to get a plain javascript JWK-formatted object. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to get an access token with the openid-client module. It expects my private key to be formatted as a JWK key. But when I create one with this library they seem to be incompatible:
Am I doing it wrong?
Beta Was this translation helpful? Give feedback.
All reactions