Describe the problem/error/question
I run n8n on a subdomain. When I log in to n8n, various cookies are set.
- rl_anonymous_id
- rl_page_init_referrer
- rl_page_init_referring_domain
- rl_session
- ph_phc_4UR*
- rl_trait
- rl_user_id
- n8n-auth
When I look in the developer tools of my browser to see which domains the cookies are set for, I see the following:
n8n-auth
is set forn8n.example.com
- all others are set for
example.com
What is the error message (if any)?
I have other services running under other subdomains, which sometimes interfere with the cookies. Can I change the scope of the cookies somewhere so that they are all set for n8n.example.com
only, or is this expected behaviour?
I have already set the following configuration, but this has no effect on this:
environment:
- WEBHOOK_URL=https://n8n.example.com/
- N8N_HOST=n8n.example.com
Information on your n8n setup
- n8n version: 1.50.1
- Database: SQLite
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Debian