For Ktor Client, is it possible to install the Aut...
# ktor
j
For Ktor Client, is it possible to install the Auth module, but specify which authentication provider to use per request?
r
I haven't used the client enough myself but if it's like the server then I'd imagine there would be a way to write a plugin or interceptor to control that. Just a guess of what to try to investigate.
a
Unfortunately, it's not possible. Usually, the server sends the
WWW-Authenticate
header to hint the client on which provider to use.
j
That's what I figured too when I didn't see anything in the documentation