Unable to locate URL to link Google Drive Account

I am unable to find URL in N8N to link Google Drive. I tried to create new credential but still I cant view URL

Can you please let me know the option to resolve the issue.

Thank you

Hello @Suman_Sakleshpur_Rud ,

Try this:
• Open the Google Drive node and select “Create New Credential.”
• Look for the field labeled OAuth Redirect URL (it usually looks like
https://.../rest/oauth2-credential/callback).
• Copy that string exactly.
• Go to your Google Cloud Console > APIs & Services > Credentials.
• Paste it into the “Authorized redirect URIs” field for your OAuth 2.0 Client ID.

Guide: Google credentials | n8n Docs

Let me know if you get that green “Connected” message.

Hello A_A4 Thank you.

I cant view URL if i select create new credential in N8N


That “Sign in with Google” button in your screenshot indicates n8n is trying to use a managed authentication flow, which hides the manual configuration fields like the “Redirect URL.”
To guide you to the right setting to reveal them, I need to check your specific environment.

Quick questions:
• Which n8n version are you running? (You can usually see this in the bottom-left corner or the “About” menu).
• Are you self-hosting (Docker/Desktop) or using n8n Cloud?
• Do you see a toggle or dropdown option in that window labeled “Use my own credentials” or “Generic Auth”?

Let me know your version, and I will help you unlock those hidden fields.

I am using 2..7.5 (Latest Stable) and I am doing Self-hosting and please find the screenshot

This issue is happening because you have the N8N_DEFAULT_LOCALE environment variable set in your Docker configuration.

Try this:
• Open your docker-compose.yml file.
• Find and delete the line containing N8N_DEFAULT_LOCALE.
• Restart your container with docker compose up -d.

Removing that specific variable should fix the problem immediately.

regards,

Apologies I am new to N8N can you please let me know if any documents are available to refer since I am new to Automation.

Thank you

No problem at all—we are all here to learn!

To make sure I send you the right link, what specifically are you looking for documentation on? (e.g. general N8N basics, how to edit Docker files?)

Apologies I am looking to documentation for how to edit Docker files

Here is the quickest way to do it:

  1. Open the file: Type nano docker-compose.yml in your terminal and hit Enter. This opens a simple text editor.
  2. Edit: Use your arrow keys to navigate. You can type or delete text just like in Notepad.
  3. Save & Exit: When you are done, press Ctrl + O then Enter (to save), and then Ctrl + X (to exit).
  4. Apply Changes: Run docker compose up -d to restart the containers with your new settings.

For further reading:

I have downloaded Docker but the application is not opening.

I am not technical guy and dont know how to code

If you use Docker in Windows, be sure that WSL installed correctly, or run WSL before Docker Desktop

Hello Halam,

Thank you.

I just started to learn about AI automation. I am not sure where to check if WSL is installed correctly.

Thank you

1 Like

in PowerShell type;

wsl --status

If it is correctly installed, it will show you the version

if there is a problem, type:

wsl --install

after that check the destribution:

wsl -l -v

the answer should be something like:

NAME      STATE           VERSION
Ubuntu    Running         2

in all cases, the version should be 2 and over not 1 at all

Next, if the spinning continue, type:

wsl --shutdown

in powershell as admin type:

dism.exe /online /get-features /format:table | findstr VirtualMachinePlatform

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

if all thinks above not work, trye,

wsl --shutdown
wsl --unregister docker-desktop
wsl --unregister docker-desktop-data

Restart PC

*****
Very important note: sometimes, I run WSL manually before running Docker

currently the version is 2. Please let me know if the version is latest

run

wsl --update

for detailed

 wsl --version

if still spinning, it maybe:

  1. WSL not installed

  2. WSL version is 1 instead of 2

  3. VirtualMachinePlatform not enabled

  4. BIOS virtualization disabled

  5. Corrupted docker-desktop WSL distro

if 1 and 2 is correct, the image shows that wsl is OK, try to run it manually, or see option 3

now, VirtualMachinePlatform may be the problem:
in powershell

Get-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform

if it says: State : Disabled, you need to enable:

Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform -All -NoRestart

then

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux -All -NoRestart

if it continue spinning, we will check CPU, tell me please

Thank you for your help.

The current version is updated hopefully it should work

2 Likes

You are welcome,
Good news: tell me if it work now, if not, we will try something else,