<Ktor HttpClient refreshTokens not firing on 401> ...
# stackoverflow
r
Ktor HttpClient refreshTokens not firing on 401 I'm having some trouble with Ktor in a Kotlin app I am writing. I have followed the directions here https://ktor.io/docs/client-bearer-auth.html#example-oauth-google for what I assume is a pretty standard authentication flow, only modified such that it authenticates against a keycloak server and a Ktor HttpClient is injected into another api handler class of mine, e.g. ApiClient, using...