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

quart_wtf.csrf The CSRF token is invalid #289

Open
khteh opened this issue Mar 17, 2025 · 2 comments
Open

quart_wtf.csrf The CSRF token is invalid #289

khteh opened this issue Mar 17, 2025 · 2 comments

Comments

@khteh
Copy link

khteh commented Mar 17, 2025

How do I test the HTTP/3 server from Postman? I get the The CSRF token is invalid error. According to https://quart-wtf.readthedocs.io/en/stable/how_to_guides/configuration.html, I set X-CSRF-Token to some random value.

@sky-cake
Copy link

Why would you set X-CSRF-Token to a random value?

@khteh
Copy link
Author

khteh commented Mar 22, 2025

How to obtain the CSRF token to be used in Postman requests?

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

No branches or pull requests

2 participants