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

CSRF_TRUSTED_ORIGINS Docker Env #3306

Open
krowvin opened this issue Sep 16, 2024 · 1 comment
Open

CSRF_TRUSTED_ORIGINS Docker Env #3306

krowvin opened this issue Sep 16, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@krowvin
Copy link

krowvin commented Sep 16, 2024

Documentation link

https://docs.tandoor.dev/system/configuration/#csrf-trusted-origins

Affected section

Installation

Other

No response

Issue description

Documentation suggests using:
CSRF_TRUSTED_ORIGINS=[ ]

Source shows:

CSRF_TRUSTED_ORIGINS = os.getenv('CSRF_TRUSTED_ORIGINS').split(',')

It was not clear for me but consider updating documentation to show:
CSRF_TRUSTED_ORIGINS=https://*.mydomain.com,https://*.mydomain2.com

Side note:
It appears unsetting this entirely in the env would have defaulted to *

@krowvin krowvin added the documentation Improvements or additions to documentation label Sep 16, 2024
@IshuSinghSE
Copy link

Hello, I can update the documentation to describe the all possible use cases, please assign this issue to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants