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
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?