Kotlin Authentication Libraries

Libraries for Kotlin

GitHub Star Comparison

Kotlin Authentication Libraries GitHub Star Comparison
NoNameGitHub StarsDescriptionTrendLicenseTypeOfficial Site
1Ktor Auth⭐ 14.0kOfficial authentication library for Ktor framework. Comprehensive support for JWT, OAuth, Basic Auth, Form-based authentication, and moreRapidly spreading with growth of Kotlin server-side development. Standard authentication solution in Ktor adoption projectsApache-2.0Framework-Integrated AuthOfficial
2Spring Security (Kotlin)⭐ 9.3kKotlin DSL support for Spring Security. Provides type-safe and concise authentication configuration in Kotlin Spring Boot developmentRising popularity among Kotlin Spring Boot developers. Expanding adoption valued for balance of type safety and expressivenessApache-2.0Enterprise SecurityOfficial
3java-jwt (Kotlin)⭐ 6.2kKotlin usage of Auth0's java-jwt library. Achieves JWT processing with Kotlin expressiveness while maintaining Java compatibilityEstablished as standard JWT processing library for Kotlin. Continued adoption balancing Java asset utilization with Kotlin expressivenessMITJWT TokenOfficial
4kotlinx.serialization⭐ 5.8kOfficial Kotlin serialization library. Used for secure serialization and deserialization of JWT payloads and authentication dataRapid growth as standard in Kotlin multiplatform development. Expanding adoption with type-safe data processing requirementsApache-2.0Serialization SupportOfficial
5Android OAuth Libraries⭐ 444OAuth integration library ecosystem for Android development. Includes Google Sign-In, AppAuth, and other mobile authentication componentsContinuous demand as authentication standard in Android app development. Increasing importance with mobile-first trendsApache-2.0Mobile Platform AuthOfficial
6Okta Kotlin SDK⭐ 46Kotlin SDK for Okta authentication service. Integrates enterprise IDaaS features into Kotlin applicationsIncreasing demand with expanding enterprise Kotlin adoption. Expanding adoption in enterprise authentication requirementsApache-2.0Cloud Identity ServiceOfficial