Use SameSite=Strict for session cookie

This commit is contained in:
William Brawner 2024-04-07 21:38:10 -06:00
parent fed06cd155
commit 961c60a183

View file

@ -208,6 +208,7 @@ fun Application.moduleWithDependencies(
} }
cookie.httpOnly = true cookie.httpOnly = true
cookie.secure = true cookie.secure = true
cookie.extensions["SameSite"] = "Strict"
} }
} }
install(ContentNegotiation) { install(ContentNegotiation) {