Jinja integration #10
thepabloaguilar
started this conversation in
General
Replies: 1 comment 3 replies
-
Hi @thepabloaguilar 👋 So I guess your goal would be to have the CSRF token in a hidden input field, right? If so, I fear that it won't work very will with this library since it'll check for the challenge in a header, not in the form payload. For this purpose, I suggest you check out asgi-csrf which is designed to work this way. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, thanks for your work on this lib! I'm using it in my FastAPI app and would like to know how I can integration the tokens with my Jinja templates like we do with Django. Is there a way?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions