Join Slack
Communities
Powered by
I needed CSRF protection for a Ktor service, and d...
# ktor
m
mp
05/21/2018, 8:41 PM
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
Deactivated User
05/22/2018, 12:18 PM
Not expert in the pipeline, but looks fine to me
m
mp
05/22/2018, 12:51 PM
OK, thanks!
61
Views
Open in Slack
Previous
Next