Why do I need to refresh Google API tokens so often in n8n?

Hi everyone,
I’m using several Google APIs in n8n, and I notice I have to refresh access tokens quite frequently to keep the workflows running.
Is this normal behavior with Google services, or am I missing a better setup? Has anyone else experienced this and found a more stable approach?

Looks like it’s due to using an unverified Google OAuth app, which has a 7-day token limit. Switching to a Google Service Account avoids this, no expiry, no user consent.

n8n official Guide here: https://docs.n8n.io/integrations/builtin/credentials/google/service-account/

Hi @Raphael_GEE

Try changing your app mode from testing to production by changing the publishing status, it should be in this link

1 Like

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