ES256 signed PrivateKeyJWT in OAuth2Session #415
Unanswered
jordaniversen
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sorry for my ignorance as I'm new to this. I have a JWK with an EC P-256 key pair, and when I do:
I get the error:
When I uncomment the
method.alg = "ES256"
line, then it works. Should the library be detecting the type of key, and overriding the default of "RS256"? I assume a particular type of private JWK can only be used with a particular signing algorithm.I'm using v0.15.5. Thank you
Beta Was this translation helpful? Give feedback.
All reactions