Splitting producing and consuming JWT functions between two functions
Issue #115
invalid
Hello there,
I tried splitting the JWT producing part of the code from the consuming to allow my authentication method to produce and all other servlets consuming and validate the produced JWT but then rsaJsonWebKey is a variable i cannot split between these two methods. Kindly advice
Comments (2)
-
repo owner -
repo owner - changed status to invalid
- Log in to comment
With RSA (or other asymmetric) signatures you need the private key to sign and the public key to verify the signature. But advising on how your application does key management is well beyond the scope of what I provide with this project.