Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST]Paperless-ngx: Add local domain automatically to PAPERLESS_CSRF_TRUSTED_ORIGINS #3951

Open
3 tasks done
Agent772 opened this issue Jun 28, 2024 · 1 comment
Open
3 tasks done
Labels
bug Something isn't working

Comments

@Agent772
Copy link
Contributor

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

not needed

Browser

No response

Browser logs

No response

User-Config changes

No response

Other

No response

Please confirm the following

  • I believe this issue is a bug that affects all users of RunTipi, not something specific to my installation.
  • I have already searched for relevant existing issues and discussions before opening this report.
  • I have updated the title field above with a concise description.
@Agent772 Agent772 added the bug Something isn't working label Jun 28, 2024
@JigSawFr
Copy link
Collaborator

I've completely rewritten this app, but need to deprecate the old one, you can find it in Discord user config Chan if you want

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants