Token expiring after a short period

When deploying an n8n workflow to production, how do you manage OAuth credentials that expire after a short period, such as Google API tokens? Is there a way to automatically refresh credentials without manual intervention, or do you need to implement a custom solution to handle token renewal?!-- Hey! The fastest way to find solutions is by using the :magnifying_glass_tilted_right: search function at the upper right.
If your question hasn’t been asked before, please follow the template below. Skip the questions that are not relevant to you. →

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

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

Hi there @rondar , actually you can setup the google tokens to not be expired, i personally tried it

you can reference this discussion for that

2 Likes

@fahmiiireza @Bringasher thanks very much for the help

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