Hi everyone,
I’m currently using n8n to integrate with the YouTube API, but I keep encountering an issue where I have to reauthenticate frequently. After a short period of time, the authentication token seems to expire, and I have to go through the OAuth2 process again.
Here’s what I’ve tried so far:
- I’ve configured the OAuth2 credentials in n8n and made sure they are saved correctly.
- From what I understand, the refresh token should be used automatically by n8n to get a new access token when the previous one expires, but this doesn’t seem to be happening.
- I’m using the latest version of n8n, and the YouTube API permissions seem correctly set up.
My question is:
- Why does this reauthentication keep happening?
- How can I ensure that the refresh token is used to automatically renew the access token without needing manual intervention?
I’d appreciate any insights or advice on how to solve this. Thanks in advance!
Debug info
core
- n8nVersion: 1.60.1
- platform: docker (self-hosted)
- nodeJsVersion: 20.17.0
- database: postgres
- executionMode: regular
- concurrency: -1
- license: community
- consumerId: unknown
storage
- success: all
- error: all
- progress: false
- manual: true
- binaryMode: memory
pruning
- enabled: true
- maxAge: 336 hours
- maxCount: 10000 executions
Generated at: 2024-09-30T07:17:41.282Z