Salesforce JWT credential does not seem to use refresh token

Describe the problem/error/question

  • When using the Salesforce Node with the JWT credentials each request is authenticating instead of authenticating once and using the refresh token there after. This is leading to large amounts of logins to Salesforce for that user and hitting the 3600 logins per hour limit.

Any thoughts as to why it would not be using the refresh token?

Information on your n8n setup

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

Hey @Justin_Barber

Welcome to the community :raised_hands:

I have just taken a quick look at the node and how we handle auth and it looks like for JWT a new token is made for every request.

It looks like OAuth would be the best option which does use token refreshing

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