Is there a way to access route parameters inside of an
authenticate(...)
call in Ktor? Alternatively, is there a way to update a session every time a route is called without having to call a function inside of each endpoint handler?
Edit: I ended up solving this using the alternative solution with custom plugins to update the session.