0Auth2 Parameters

hello, hope all is well.

just a quick q - i uploaded an 0auth2 credential in the credentials tab of a project. I want to use it in both a Google Sheets node and a Gmail node.

In the Gmail node, it pulled the 0auth2 credential from the env (ie. the preconfigured client ID and client secret), so I am assuming it inherits the scopes too.

In the Google Sheets node however, it did not give me the opportunity to specify client secret and clientID. I was also able to verify with an email that wasn’t on the whitelist when I first created the credential in the GCP.

So my question is - why the discrepancy? also - in the Google Sheets node in my scenario, say I give it 6 permissions but my env credential only has 3 very restrictive ones, I’m assuming its gets the 6 permissions? This is not ideal, how can i fix it :frowning:

any and all help is appreciated ty :]

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Hey @zzkmoonflowers,

Welcome to the community :tada:

The nodes have their own scopes which normally means you have to define the client id / secret for each credential unless you use a credenital overwrite.

Being able to verify with an email that wasn’t on the allow list doesn’t sound like an n8n issue and it sounds like something could be wrong in the google app configuration.

I have assumed you are self hosting n8n and not using n8n cloud, Is this the case?

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