# lexburner/oauth2-demo

Re：从零开始的Spring Security Oauth2

Repository: https://github.com/lexburner/oauth2-demo
Canonical: https://ross.abutalabs.com/products/oauth2-demo
Language: Java
License Family: other
Last push: 2021-12-30T07:18:58+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3312, "days_push": 1707, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1177, forks 568 (observed 2026-08-28T04:03:52.714039+00:00)

## What it is
A Java demo project and tutorial explaining how to implement OAuth2 with Spring Security OAuth2, including authorization code flow examples and Spring Boot 2.0 migration guidance. It serves as a hands-on learning resource for developers integrating OAuth2 authentication in Spring applications.

## Use cases
- learn how oauth2 authorization code flow works in spring security
- example of spring security oauth2 configuration
- migrate spring security oauth2 to spring boot 2.0
- understand oauth2 filter chains in spring
- demo of getting access token with authorization code
- set up password encoder in spring boot 2 security

## When to choose
- you are learning OAuth2 concepts with Spring Security from scratch
- you need a working demo of the authorization code flow
- you are migrating a Spring Security OAuth2 app to Spring Boot 2.0

## When to avoid
- you need a production-ready OAuth2 server or client
- you use modern Spring Boot 3 / Spring Authorization Server
- you need maintained, licensed software with active support

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: auth, authorization, security
- domain: security, web-development, developer-tools, tutorials
- platform: jvm
- tags: oauth2, spring-security, spring-boot, demo, tutorial, authorization-code-flow, spring

## Member repositories
- lexburner/oauth2-demo (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:52.714039+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-30T06:26:12.348465+00:00, confidence not recorded.
  - readme: https://github.com/lexburner/oauth2-demo (fetched 2026-08-28T04:03:52.714039+00:00, sha 75a3d1bfbce0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
