A sample project demonstrating how to use basic HTTP authentication in Ktor.
This sample is a part of the codeSnippets Gradle project.
To run this sample, execute the following command in a repository's root directory:
./gradlew :auth-basic:runThen, open http://localhost:8080/ and enter the jetbrains/foobar credentials in a login dialog to see a web page.