Closed Elvintest closed 1 year ago
👋 hi @Elvintest, no, this library does not support creating a JWT from a pem file. See https://github.com/auth0/java-jwt/issues/214 for additional info and possible solutions, as well as https://github.com/auth0/java-jwt/issues/371. Thanks!
Checklist
Describe the problem you'd like to have solved
the lib accepts special objects for generating token but not bytes or string seq, it creates complexity.
Describe the ideal solution
I have an encrypted private key in pem file started with -----BEGIN ENCRYPTED PRIVATE KEY----- and also public key in pem file. I need to generate jwt based on this key, if the lib provides such feture it would be great
Alternatives and current workarounds
No response
Additional context
No response