I am trying to get a new JWT from AWS Lambda, using Node.JS.
I have used the same Node.Js from examples that I am using locally on my MAC OSX.
The local obtained JWT is ok, but when I try to get the same from AWS Lambda and use it to obtain the Token for Adobe PDF Services API, I obtain error:
{"error_description":"JWT token is incorrectly formatted, and can not be decoded.","error":"invalid_token"}
Any advice? Thanks