# ktor

landon burch

08/31/2021, 8:27 PM
okay.. I am looking at documentation my http client to make a call server that is using OAuth and responding with bearer token. I am looking at and for inspiration. But it seems that I am having some syntax errors it seems that the bearer { loadTokens { blocks are not resolvable.. I am using ktor versions "1.5.3" .. does anyone have any experience in getting this to work in 1.5.3?
so it appears that I was able to resolve by issue by following the instructions (what a concept and changing my ktor version to 1.6.3) which I am not sure if I can do on the work project.. So any ideas on how to work around would be appreciated

Aleksei Tirman [JB]

09/01/2021, 8:56 AM
This feature is available since Ktor 1.6.0 (KTOR-331) so you need that version of Ktor or above to use it.

landon burch

09/01/2021, 12:48 PM
@Aleksei Tirman [JB] .. thanks for for the minimum version and clearing that up.. really appreciate the response