Oauth Redirect URL unable to change

Hello guys! I’m facing an issue that we already found others topics about the same subject, but in my case, I’ve been tried all the tips and doesn’t work, even many redeploys after change the infos. As you can see below, i still without the “https://” on my redirect URL.

Below are my Env Var.:
SERVICE_FQDN_N8N=https://n8n.coolify.xyz.
SERVICE_FQDN_N8N_5678=n8n.coolify.xyz.
SERVICE_PASSWORD_POSTGRES=
SERVICE_URL_N8N=https://n8n.coolify.xyz.
SERVICE_URL_N8N_5678=https://n8n.coolify.xyz.
SERVICE_USER_POSTGRES=
DB_POSTGRESDB_PASSWORD=$SERVICE_PASSWORD_POSTGRES
DB_POSTGRESDB_USER=$SERVICE_USER_POSTGRES
GENERIC_TIMEZONE=America/Sao Paulo
N8N_EDITOR_BASE_URL=https://n8n.coolify.xyz.
N8N_HOST=n8n.coolify.xyz.
POSTGRES_DB=n8n
POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
POSTGRES_USER=$SERVICE_USER_POSTGRES
TZ=America/Sao Paulo
WEBHOOK_URL=https://n8n.coolify.xyz.

I’ve just hidden my domain and passwords.

Could you help me with this issue, please?

Information on your n8n setup

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

Hello @domfelipe, how are you?

I tried including the environment variable:

  • N8N_PROTOCOL=https

If this helps, please mark this answer as a solution; it will help others with the same problem.

Not yet @gabrielhmsantos, see below:

I noticed that you used coolify for deployment, causing a subdomain of a subdomain. I don’t know if this could be an obstacle for the n8n stack. In coolify, can you direct n8n to n8n.smartads.app?

I don’t think that’s the problem because it was working fine until sunday, when i updated the n8n.

I don’t know if i can redirect directly to n8n.smartads.app :frowning:

Guys! I’ve been solved! In my case, the main issue was on “Compose File”, I made some changes that i’ll leave below, and it back to works fine! I found the solution on this topic: Coolify n8n OAuth Redirect URL

Changes on compose file:
‘N8N_EDITOR_BASE_URL=${SERVICE_FQDN_N8N}’ //before it was using SERVICE_FQDN_N8N_5678 with the wrong URL.
‘WEBHOOK_URL=${SERVICE_FQDN_N8N}’ //before it was using SERVICE_FQDN_N8N_5678 with the wrong URL.

Just it, and redeploy.

Thanks @gabrielhmsantos for the tries.

1 Like

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