I currently have a workflow where I create and edit different folders and spreadsheets through Google Drive nodes.
I’m the sole user of this workflow, and therefore each Google node is using my own Google OAuth authentication hard-coded.
I would like to open my app to other users, so I added a Google authentication flow in my front-end. But I don’t know how to transfer the Google tokens from my users to n8n so that each Google node would give them access to THEIR data… not mine.
Is there even a way to do this, or are n8n Google nodes meant to be used by only one user in each workflow?
Hi there!
{
“oauth2”: {
“accessToken”: “<user_access_token>”,
“refreshToken”: “<user_refresh_token>”,
“expires”: 1700000000
}
}
n8n will use these tokens instead of the ones stored server-side.