Hi guys, anybody has an idea how can I get the cur...
# ktor
j
Hi guys, anybody has an idea how can I get the current authenticated user in my service layer? something similar to
SecurityContextHolder
in spring?
b
Should be mentioned in AuthenticationFeature docs
a
You can get a principal (authenticated user) inside a route's handler https://ktor.io/docs/authentication.html#get-principal