Basic Http Auth ?
Closed this issue · 2 comments
SudoDios commented
How to Add basic auth to load image ?
qdsfdhvh commented
You can customise ktor to do this:
ImageLoader {
components {
setupDefaultComponents(
httpClient = {
HttpClient {
defaultRequest {
basicAuth("username", "password")
}
}
}
)
}
}
SudoDios commented
Thank you ❤️.
this is working very good.