Updated Part-DB and get Invalid CSRF token #7443
Replies: 4 comments 10 replies
-
|
Maybe Default_uri add into .env? |
Beta Was this translation helpful? Give feedback.
-
|
not sure if you fixed it, for me it was the TRUSTED_PROXIES=127.0.0.0/8,::1,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 that was missing. |
Beta Was this translation helpful? Give feedback.
-
|
I'm also running into the same issue with cloudflare. I tried to set |
Beta Was this translation helpful? Give feedback.
-
|
I was struggling with this issue for quite some time as well. My # Required for Symfony / Part-DB
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
# Optional but recommended
proxy_set_header X-Real-IP $remote_addr;Just leaving this here in case someone might need it! |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I updated my Part-DB container and now I'm getting the error message "Invalid CSRF token" when trying to log in. I don't get this message when I log in locally on the network. Only when I log in via my domain using Cloudflare and Pihole. But is that possibly the cause, and what do I need to configure where? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions