How to Create an HMAC Key for JJWT with Keys.hmacShaKeyFor
JJWT, the Java JWT library, signs HS256 tokens with a SecretKey. When your secret is stored as base64 text, Decoders.BASE64.decode turns it back into bytes and Keys.hmacShaKeyFor turns the bytes into that key, refusing any key too short to be safe.
