https://kotlinlang.org logo
#ktor
Title
# ktor
d

dodalovic

03/28/2022, 12:08 PM
Hi, I'd like to set some cookie as part of each authenticated call
Copy code
routing {
        authenticate("auth-jwt") {
            route("*") {
               call.response.cookies.append(...)
            }
        }
       
        addRoutes()
    }
is the way to go?
d

dodalovic

03/28/2022, 12:19 PM
Thanks, I'll check