Splitting producing and consuming JWT functions between two functions

Issue #115 invalid
Former user created an issue

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)

  1. Brian Campbell repo owner

    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.

  2. Log in to comment