I needed CSRF protection for a Ktor service, and d...
# ktor
m
I needed CSRF protection for a Ktor service, and didn't find anything out there, so I made a little library. https://bitbucket.org/marshallpierce/ktor-csrf/src/master/ I'm not sure I'm wiring it into the pipeline correctly; does this look right? https://bitbucket.org/marshallpierce/ktor-csrf/src/3ff20b83033890facd74e4983829e287841e6533/src/main/kotlin/org/mpierce/ktor/csrf/CsrfPrevention.kt#lines-41
d
Not expert in the pipeline, but looks fine to me
m
OK, thanks!