Kotlin Authentication Libraries
Libraries for Kotlin
GitHub Star Comparison
| No | Name | GitHub Stars | Description | Trend | License | Type | Official Site |
|---|---|---|---|---|---|---|---|
| 1 | Ktor Auth | ⭐ 14.0k | Official authentication library for Ktor framework. Comprehensive support for JWT, OAuth, Basic Auth, Form-based authentication, and more | Rapidly spreading with growth of Kotlin server-side development. Standard authentication solution in Ktor adoption projects | Apache-2.0 | Framework-Integrated Auth | Official |
| 2 | Spring Security (Kotlin) | ⭐ 9.3k | Kotlin DSL support for Spring Security. Provides type-safe and concise authentication configuration in Kotlin Spring Boot development | Rising popularity among Kotlin Spring Boot developers. Expanding adoption valued for balance of type safety and expressiveness | Apache-2.0 | Enterprise Security | Official |
| 3 | java-jwt (Kotlin) | ⭐ 6.2k | Kotlin usage of Auth0's java-jwt library. Achieves JWT processing with Kotlin expressiveness while maintaining Java compatibility | Established as standard JWT processing library for Kotlin. Continued adoption balancing Java asset utilization with Kotlin expressiveness | MIT | JWT Token | Official |
| 4 | kotlinx.serialization | ⭐ 5.8k | Official Kotlin serialization library. Used for secure serialization and deserialization of JWT payloads and authentication data | Rapid growth as standard in Kotlin multiplatform development. Expanding adoption with type-safe data processing requirements | Apache-2.0 | Serialization Support | Official |
| 5 | Android OAuth Libraries | ⭐ 444 | OAuth integration library ecosystem for Android development. Includes Google Sign-In, AppAuth, and other mobile authentication components | Continuous demand as authentication standard in Android app development. Increasing importance with mobile-first trends | Apache-2.0 | Mobile Platform Auth | Official |
| 6 | Okta Kotlin SDK | ⭐ 46 | Kotlin SDK for Okta authentication service. Integrates enterprise IDaaS features into Kotlin applications | Increasing demand with expanding enterprise Kotlin adoption. Expanding adoption in enterprise authentication requirements | Apache-2.0 | Cloud Identity Service | Official |