# a466350665/smart-sso

SpringBoot SSO 单点登录 权限认证，OAuth2实现，支持跨域、前后端分离、分布式部署

Repository: https://github.com/a466350665/smart-sso
Canonical: https://ross.abutalabs.com/products/smart-sso
Language: Java
License: MIT
License Family: permissive
Topics: sso, springboot, oauth2, java
Last push: 2026-04-07T01:27:35+00:00

## Health v2 (maintenance only)
Score: 57/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 76, release rhythm 8, longevity 100
- inputs: {"age_days": 3705, "days_push": 149, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2303, forks 1224 (observed 2026-08-28T04:06:35.559552+00:00)

## What it is
Smart-SSO is a lightweight single sign-on (SSO) authentication and authorization center built on Spring Boot, implementing the OAuth2 authorization code flow combined with RBAC permission design. It provides client starter libraries and a server module supporting cross-domain login, front-end/back-end separation, single logout, auto token renewal, forced logout, and distributed deployment with Redis-shared tokens.

## Use cases
- implement single sign-on across multiple Spring Boot applications
- add OAuth2-based centralized authentication to microservices
- support SSO in front-end/back-end separated apps without cookies
- enable single logout across all connected client apps
- deploy SSO server and clients across multiple instances with Redis
- enforce button-level permission control in web apps
- force a user offline across all clients as an admin

## When to choose
- you need a lightweight, self-hosted SSO solution in the Java/Spring Boot ecosystem
- you want OAuth2 authorization code flow with RBAC permissions out of the box
- you need cross-domain SSO or cookie-less front-end/back-end separated architectures
- you require distributed multi-instance deployment with shared token state via Redis

## When to avoid
- you need a full-featured enterprise identity provider with SAML, OIDC, or social login (consider Keycloak)
- your stack is not Java/Spring Boot
- you need standards-certified OAuth2/OIDC compliance rather than a simplified implementation
- you want a managed cloud identity service

## Facets
- artifact type: framework
- maturity: active
- function: auth, authorization, middleware, web-framework
- domain: security, web-development, backend, developer-tools
- platform: jvm, self-hosted
- tags: sso, oauth2, single-sign-on, rbac, spring-boot, distributed, token-management, spring

## Member repositories
- a466350665/smart-sso (main) score 57

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:35.559552+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:39:54.042209+00:00, confidence not recorded.
  - readme: https://github.com/a466350665/smart-sso (fetched 2026-08-28T04:06:35.559552+00:00, sha 8650ac35a666)
- Data as of 2026-08-30T08:39:29.467469+00:00.
