Skip to content

Disable validate_origin if a token_secret is set#467

Merged
mbaldessari merged 3 commits intovalidatedpatterns:mainfrom
mbaldessari:common-automatic-update
Sep 18, 2025
Merged

Disable validate_origin if a token_secret is set#467
mbaldessari merged 3 commits intovalidatedpatterns:mainfrom
mbaldessari:common-automatic-update

Conversation

@mbaldessari
Copy link
Contributor

No point in having the user set DISABLE_VALIDATE_ORIGIN=true when they
also pass a TOKEN_SECRET, just skip the validation entirely in that
case.

No point in having the user set DISABLE_VALIDATE_ORIGIN=true when they
also pass a TOKEN_SECRET, just skip the validation entirely in that
case.
Disable validate_origin if a token_secret is set
@mbaldessari mbaldessari merged commit 2f93c06 into validatedpatterns:main Sep 18, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant