OAuth Redirect URL with outlook

Describe the problem/error/question

since microsoft doesnt want to have http and want https

i try to change the address but it not working

i try to put WEBHOOK_URL=HTTPS://ADDR in the .env and docker-compose.yml

nothing change

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

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

Hey @bobdion Welcome to the n8n community!
That is strange that the WEBHOOK_URL is not changing at all, have you tried using the npm version of the n8n , i am currently using that and it works very fine every time before i start n8n i just use ā€˜set WEBHOOK_URL=https://myURL.com’ and then i start n8n and it works for me, let me know after trying the npm version, you can get it with the command ā€œnpm install n8nā€ and just install NODE.js

As most of the times the webhook_url does work with docker, but i guess giving the npm’s version of n8n a try!

if i do that i need to unistall everything so there is another solution without uninstalling everything

No, you dont need to uninstall anything , that will just install as another npm package, and that will help to see what is the actual issue testing that does this works or not

Hi @bobdion ,

While I agree with @Anshul_Namdev, let’s just take a step back and make sure we are not overlooking something simple.

Would you mind sharing your docker-compose snippet? First thing we’d want to make sure of, is that .env value is being propageted to your Docker container.

When you have the url only in .env variable and after restarting:

docker compose down
docker compose up -d

what is the output for:
docker compose exec n8n printenv | grep WEBHOOK_URL ?

It may be helpful to take a look at these posts as well. I’d start here and dive deeper, once we can exclude the simple issues.

Best,
saru

Add to your docker compose main n8n container


env_file:

- .env
Oh god formatting here is impossible on mobile 

robert@robert-PowerEdge-R710:~$ docker compose exec n8n printenv | grep WEBHOOK_URL
no configuration file provided: not found

robert@robert-PowerEdge-R710:~/n8n-server$ docker compose exec n8n printenv | grep WEBHOOK_URL
services.environment must be a mapping

now is working i get robert@robert-PowerEdge-R710:~/n8n-server$ sudo docker compose exec n8n printenv | grep WEBHOOK_URL
WEBHOOK_URL=https://192.168.21.30/

but nothing has changed

OK, good,

next step:

when you do not have/use **public domain URL
**
N8N_HOST=your.domain.com
N8N_EDITOR_BASE_URL=https://your.domain.com/
WEBHOOK_URL=https://your.domain.com/

try using localhost as discussed here:

Best,
saru

it has changed but when i try microsoft is not able to connect to localhost

theres is a way to do it

ok i have make a tunnel with cloudflare and now it working but the problem is i get this error with no info

image