You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now I'm trying to switch to EC based keys, I first tried to use a JWKS file (see #13 ), bit it seems unsupported for now. Now I'm trying to use the auth_opt_jwt_sec_base64 option, but I'm not sure how to format the key, because PKCS1 is RSA only.
But with that I always get ValidationError(InvalidSignature). I'm sure that the token I use are properly signed because I can validate them using the https://jwt.io/ provided tool.
The text was updated successfully, but these errors were encountered:
For RSA plublic key, I found that you should use a base 64 encoded DER using PKCS1.
In python, this is given by:
Now I'm trying to switch to EC based keys, I first tried to use a JWKS file (see #13 ), bit it seems unsupported for now. Now I'm trying to use the
auth_opt_jwt_sec_base64
option, but I'm not sure how to format the key, because PKCS1 is RSA only.I tried this:
But with that I always get
ValidationError(InvalidSignature)
. I'm sure that the token I use are properly signed because I can validate them using the https://jwt.io/ provided tool.The text was updated successfully, but these errors were encountered: