Skip to content

Disable validate_origin if a token_secret is set#635

Merged
mbaldessari merged 1 commit intovalidatedpatterns:mainfrom
mbaldessari:simpler-validation
Sep 18, 2025
Merged

Disable validate_origin if a token_secret is set#635
mbaldessari merged 1 commit intovalidatedpatterns:mainfrom
mbaldessari:simpler-validation

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.
@mbaldessari mbaldessari merged commit f5f3d01 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