What is wrong with this? Error 10124

JWT Error Token Access

HEADER:
“alg”: “HS256”,
“typ”: “JWT”

PAYLOAD:
“appKey”: “–”,
“iat”: 1608496941,
“exp”: 1608570000,
“tokenExp”: 1608505200

HMACSHA256(
base64UrlEncode(header) + “.” +
base64UrlEncode(payload),
mysdkscretehere

What is wrong?

Hey @marlonelimabr,

Thanks for using the dev forum. Your parameters seem fine. But to help debug, try this payload. At the time of this comment, the iat was set to the current time, exp was one day in the future, and tokenExp was 4 hours in the future. I put it through the JWT debugger at jwt.io and successfully used it in the demo app. If you use jwt.io, make sure to leave “secret base64 encoded” unchecked and to copy the JWT straight from the “Encoded” section, not the “Copy JWT” button.
{
“appKey”: “-”,
“iat”: 1609197674,
“exp”: 1609284090,
“tokenExp”: 1609212111
}

Let me know if that works for you.
Thanks!
Michael