dromara/Sa-Token
✨ 开源、免费、一站式 Java 权限认证框架,让鉴权变得简单、优雅!—— 登录认证、权限认证、分布式 Session 会话、微服务网关鉴权、SSO 单点登录、OAuth2.0 统一认证、jwt 集成、API Key 秘钥授权、API 参数签名 observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 86
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 41.0
- age_days: 2403
- days_rel: 14
- days_push: 7
- n_releases_24m: 7
Adoption not part of the score
19005 stars · 2911 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Sa-Token is a lightweight, open-source Java authentication and authorization framework covering login authentication, permission checks, distributed sessions, SSO, OAuth2.0, JWT integration, and microservice gateway auth. It integrates out-of-the-box with Spring Boot, Solon, JFinal, and other common Java web frameworks.
Use cases
- add login authentication to a Spring Boot application
- implement role-based and permission-based access control in Java
- set up single sign-on (SSO) across multiple systems
- build an OAuth2.0 authorization server
- manage distributed sessions across microservices
- kick users offline or ban accounts programmatically
- secure gateway-level authentication in Spring Cloud
- integrate JWT-based token auth in a Java web app
When to choose
- you need a one-stop Java auth solution covering login, permissions, SSO, and OAuth2.0
- you want minimal configuration and simple static-call APIs for authentication
- you are building Spring Boot or microservice (Spring Cloud) applications needing unified auth
- you need session management features like kick-offline, account bans, and auto-renewal
When to avoid
- you are not working on the JVM/Java platform
- you need a standards-compliant implementation of Spring Security or Jakarta EE security specs
- your project requires fine-grained policy engines like OPA or Casbin-style ABAC
Facets
framework · maturity stable
auth authorization middleware security security web-development backend developer-tools jvm cross-platform java sso oauth2 jwt session-management microservices spring-boot token-authentication single-sign-on api-key spring
2 sources
- readme: https://github.com/dromara/Sa-Token · fetched 2026-08-28 · a385f6f7ad31
- homepage: https://sa-token.com · fetched 2026-08-29 · c288a10a9abd
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dromara/Sa-Token | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="dromara/Sa-Token")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem