[BUG]JWT node payload claims is all wrong

when i choose to set payload claims with preset field

you pass that json
[
{
“payload”: {
“audience”: “xxxx”,
“expiresIn”: 1739158030,
“issuer”: “xxxx”,
“iat”: 1739157970
}
}
]

but verification node ignore expiresin, and other params because normally expect this type of json format:

{
“iss”: “https://aifb.ch”,
“aud”: “my-api”,
“exp”: 1707820800,
“iat”: 1707817200,
}
}

and in the node you have write expiresin is in seconds and you have put as default 3600 (like 1 hour)

is wrong, normally is DATE to seconds format not expiration time in seconds :dancer:

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.