does ktor have an oauth2 client?
# ktor
c
does ktor have an oauth2 client?
c
Not yet
c
is it planned?
s
I used platform specific libraries on iOS and Android to initiate and perform the oauth flow. Following that I created an auth provider similar to the basic auth provider that inserts the authorization bearer token into the request headers. In my situation, the tokens are only good for one hour so the config needs to be updatable to receive a new token every so often. The refresh token call is also handled by the platform libraries.