Back to Trending
RepositoryKotlin
myndocs

myndocs/kotlin-oauth2-server

Flexible OAuth2 server library. Support for multiple frameworks

156stars
28forks
5issues
0views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: oauth2-server

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: http4k

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: javalin

#1 Repository Của Tháng

🔐 Kotlin OAuth2 Server — Thư viện OAuth2 đa framework linh hoạt bằng Kotlin

Một thư viện OAuth2 server đơn giản, có thể tích hợp vào bất kỳ framework nào.

Kotlin OAuth2 Server là một dự án mã nguồn mở bằng Kotlin, cung cấp một thư viện OAuth2 server linh hoạt và dễ cấu hình. Dự án hỗ trợ nhiều framework phổ biến như Ktor, Javalin, http4k và Sparkjava, giúp người dùng dễ dàng tích hợp OAuth2 vào dự án mà không cần thay đổi cấu trúc hiện tại.

✨ Điểm nổi bật

  • Hỗ trợ đa framework: Tích hợp sẵn cho Ktor, Javalin, http4k và Sparkjava.
  • Cấu hình đường dẫn tùy chỉnh: Hỗ trợ cấu hình lại các endpoint mặc định như /oauth/token, /oauth/authorize, /oauth/tokeninfo.
  • Cấu hình bộ nhớ tạm: Cung cấp các lớp InMemoryIdentity, InMemoryClient và InMemoryTokenStore để dễ dàng khởi tạo nhanh.
  • Hỗ trợ JWT: Chuyển đổi access token và refresh token sang JWT bằng thư viện auth0 jwt.
  • Cấu hình thời gian hết hạn linh hoạt: Tùy chỉnh thời gian hết hạn cho access token, refresh token và authorization code.
  • Hỗ trợ Maven và Gradle: Dễ dàng thêm dependency vào dự án thông qua Maven hoặc Gradle.

💡 Vì sao đáng chú ý

Khác với các thư viện OAuth2 server khác, Kotlin OAuth2 Server được thiết layout để dễ dàng tích hợp vào bất kỳ framework nào. Thay vì ép buộc người dùng phải thay đổi kiến trúc hiện tại, nó khuyến khích điều chỉnh linh hoạt. Điều này giúp giảm thiểu công sức tích hợp và tăng tính mở rộng cho dự án.

Ngoài ra, việc hỗ trợ cấu hình bộ nhớ tạm giúp người dùng nhanh chóng thiết lập môi trường phát triển mà không cần cấu hình cơ sở dữ liệu phức tạp. Khi cần triển khai thực tế, người dùng có thể dễ dàng mở rộng sang lưu trữ token và danh tự trong cơ sở dữ liệu.


#Kotlin #OAuth2 #Server #OpenSource #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
goauthentik/authentik

The authentication glue you need.

26.4k
Nov 21, 2026
RepositoryVue
tipsy/profile-summary-for-github

Tool for visualizing GitHub profiles

19.9k
Feb 22, 2026
RepositoryPHP
thephpleague/oauth2-server

A spec compliant, secure by default PHP OAuth 2.0 Server

6.7k
Nov 20, 2026
RepositoryRuby
doorkeeper-gem/doorkeeper

Doorkeeper is an OAuth 2 provider for Ruby on Rails / Grape.

5.5k
Nov 21, 2026
RepositoryPython
authlib/authlib

The ultimate Python library in building OAuth, OpenID Connect clients and servers. JWS, JWE, JWK, JWA, JWT included.

5.5k
Nov 20, 2026
RepositoryGo
go-oauth2/oauth2

OAuth 2.0 server library for the Go programming language.

3.6k
Sep 1, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

475.2k
Nov 23, 2026
RepositoryTypeScript
freeCodeCamp/freeCodeCamp

freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

459.4k
Nov 20, 2026
RepositoryPython
donnemartin/system-design-primer

Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

378.9k
Sep 15, 2026