Yes - there's the CSRFMiddleware already listed in this list.
If so, how is this one different?
asgi-csrf is standalone, while the CSRFMiddleware we have is part of a wider library (Piccolo API). Makes me think we might want to put asgi-csrf as the lone entry later, maybe.
Anyone who agrees with this pull request can add a 👍.
Checklist
What is this project?
asgi-csrf
is @simonw's CSRF-for-ASGI implementation. It is widely used in the Datasette ecosystem I believe: https://github.com/simonw/asgi-csrf/network/dependentshttps://github.com/simonw/asgi-csrf
Do you know about other similar projects?
Yes - there's the
CSRFMiddleware
already listed in this list.If so, how is this one different?
asgi-csrf
is standalone, while theCSRFMiddleware
we have is part of a wider library (Piccolo API). Makes me think we might want to putasgi-csrf
as the lone entry later, maybe.Anyone who agrees with this pull request can add a 👍.