Hi All,
I figured out what was going on…
The API call on the Java JWT lib method signWith(…) takes a base64Encode String, which is used to digitally sign JWT token.
I simply needed to convert this to a byte[] and used it to sign the JWT token.
i.e.
signWith(SignaureAlgorithm.HS256, secret.getBytes())
Gary