JWT 401 Error using Node.js & jwt-simple

Just using your code, I get a 400, missing required parameter “message”.

At least not a 401. What should payload (not tokenPayload) be there?

Thanks again!