it seems like the official documentation is bad
# ktor
s
it seems like the official documentation is bad
e
It looks like a server auth.
Could you check if the artifact
"io.ktor:ktor-client-auth:$ktor_version"
in the dependencies block?
s
I'm using maven and I have this
Copy code
<dependency>
            <groupId>io.ktor</groupId>
            <artifactId>ktor-client-auth</artifactId>
            <version>${ktor_version}</version>
        </dependency>
        <dependency>
            <groupId>io.ktor</groupId>
            <artifactId>ktor-client-auth-basic</artifactId>
            <version>${ktor_version}</version>
        </dependency>
e
Oh, ok. You can drop
ktor-client-auth-basic
and replace
ktor-client-auth
with
ktor-client-auth-jvm
.
s
Cool, thank you, it compiles now.
👍 1