Hey everyone! Hope you’re all having a great day so far.
I was planning to use Ktor for a new product we’re building at work, but I realized it doesn’t have built-in support for WebAuthn/passkeys.
That got me curious, so I started looking into how Spring Security handles it, since our other services are built with Spring. I also explored similar implementations in the Swift ecosystem.
After digging into it for a couple of days, I started putting together a proposal to add native WebAuthn/passkey support to Ktor, following the
KLIP process.
My goal is to make WebAuthn/passkey authentication secure by default, with an API that feels natural in Kotlin and lets developers integrate passkeys without unnecessary boilerplate or configuration.
Before taking this any further, I’d love to hear what the maintainers think. Is this something you’d be interested in adding to Ktor? Are there any architectural considerations or limitations I should be aware of before moving forward?