Hello, how can I add an interceptor so that each a...
# ktor
r
Hello, how can I add an interceptor so that each authenticated request returns the user a new token inside a custom header?
m
Same way you add other interceptors? See https://ktor.io/advanced/pipeline.html, etc
Note that that will be pretty annoying for clients to consume if they make requests in parallel