[REQUEST]Paperless-ngx: Add local domain automatically to PAPERLESS_CSRF_TRUSTED_ORIGINS #3951
Open
3 tasks done
Labels
bug
Something isn't working
Store Application
Paperless-ngx
App version
2.10.2
Description
Is your feature request related to a problem? Please describe.
When enabling https and local domain a login to https://paperless-ngx.runtipi.local/ results in a CSRF verification error.
Describe the solution you'd like
runtipi automaticly adding the domain to the config parameter: PAPERLESS_CSRF_TRUSTED_ORIGINS
Describe alternatives you've considered
Manually editing the docker-compose.yml to add this entry. This would result in a hardcoded domain instead of runtipi assigning the domain and adding it to the PAPERLESS_CSRF_TRUSTED_ORIGINS.
Steps to reproduce
When enabling https and local domain a login to https://paperless-ngx.runtipi.local/ results in a CSRF verification error.
App logs
Browser
No response
Browser logs
No response
User-Config changes
No response
Other
No response
Please confirm the following
The text was updated successfully, but these errors were encountered: