Form-based authentication in Ktor Server

Edit pageLast modified: 06 February 2025

Form-based authentication uses a web form to collect credential information and authenticate a user. To create a web form in Ktor, you can use HTML DSL or choose between JVM template engines, such as FreeMarker, Velocity, and so on.