Hey all hopefully someone can help here I tried to sign into GMAIL I have OAuth setup on Sheets and Drive but it didn’t request Access Token URL and Authorization URL. Where do I obtain the
se?
Hey all hopefully someone can help here I tried to sign into GMAIL I have OAuth setup on Sheets and Drive but it didn’t request Access Token URL and Authorization URL. Where do I obtain the
Hi, what version of n8n are you using? Your Gmail node seems incorrect. Images below for reference.
To authenticate with Gmail, you can go to Google Cloud and enable the Gmail API: Google Cloud console
You can then create a client with Google Cloud using this URL https://console.cloud.google.com/auth/clients, which gives you the client ID and secret.
yes, have you tried updating your n8n?
Hi @1AMD
I think you may also need to change localhost as the callback url, this needs to be changed to work correctly otherwise I think you will have issue.
btw here are the n8n docs for setting up the auths. Google OAuth2 generic | n8n Docs
Hope this helps further
Samuel
I’m on the latest as of today 1.94.1. I only noticed after that sign in form wasn’t correct. In any case I just cleared my workflows and restarted and it now works and I see the correct sign in. Im not sure what the cause of this was though
I see, I think it was a old version of the node considering it having a grant type. Is everything connected now?
It is the correct localhost. I restarted n8n and Docker container and it now works now but only after deleting my workflow
Restart my Docker container n8n helped me ![]()
Hi @1AMD . can you try to fill it in with this
https://accounts.google.com/o/oauth2/authhttps://oauth2.googleapis.com/tokenhttps://YOURDOMAIN.COM/rest/oauth2-credential/callback)OAuth2 configuration for Google Sheets in n8n now requires additional fields beyond the traditional client ID and secret.
hope it answers your question
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.