I’m trying to connect to my API with Postman. I have followed the following 2 tutorials:
I am able to get the unauthorized “public” API to work.
I am also able to retrieve a New Access Token in Postman. However, when I try to use the access token in Postman authorization, and call the “private” API, I get “UnauthorizedError: jwt malformed”.
It may seem that the JWT I retrieved is too short - only 32 symbols, should this have been different?
If so, why am I getting only a 32-symbol JWT - and how can I change this?
If the Token with 32 symbols is correct - is the issue perhaps with the code? (I am using the checkJWT middleware in link 1)