This topic was forked from Capability to tweak CORS config of an app
joseph
-
Anyone ever resolve this yet? I can't get n8n to work with just the N8N_ALLOWED_ORIGINS in the .env
-
@jordanurbs where did you find that option ? it's not in https://docs.n8n.io/ .
Instead of having the frontend call n8n directly (which requires cors), call it via your backend instead . I think you will have to call it via the backend anyways to not expose any api tokens .
-
-
Well I feel stupid but I was using https://localhost:3000 instead of http://localhost:3000 in my .env file (on cloudron) and then it started working.
May or may not have been a problem if I'd skipped that step and just put it in in the authorized header parameter on n8n