Google oAuth sharing

Hey,

Using n8n self hosted enterprise v2.5.0. Had a search through the docs and community, but couldn’t find any answers to this.

I’m writing a workflow to extract calendar events from google calendar and process them to a personal assistant. I want to share this workflow with the team.

I’ve set up the project in google console and can use the oAuth workflow just fine. I use the url, client id, key and oAuth to do so. The problem comes to sharing this with my work colleagues. We share it via a shared project.

The problem is that:

  • if i share the credentials they get my oAuth token and it reads my calendar events.
  • If i share the workflow without credentials i have to give out the URL, clientID and key which i don’t want to be distributing amongst my team

How can i share url, client id and key part within n8n without giving them my oAuth token?

Thanks!

Do you want them to use the workflow with their own calendars?

If so, they need to create their own Google Credentials in n8n and duplicate the workflow for each calendar.

The alternative would be creating a Google “app” inside the Cloud Console and using an OAuth flow that grabs and renews temporary tokens for each user. Totally different workflow logic, but accepts multiple users instead of only one per workflow.