# murraco/spring-boot-jwt

JWT auth service using Spring Boot, Spring Security and MySQL

Repository: https://github.com/murraco/spring-boot-jwt
Canonical: https://ross.abutalabs.com/products/spring-boot-jwt
Language: Java
License: MIT
License Family: permissive
Topics: jwt, spring-boot, spring-security, microservices, java, authentication, jsonwebtoken, swagger2, jwt-authentication
Last push: 2026-08-17T20:07:24+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 98, release rhythm 35, longevity 100
- inputs: {"age_days": 3248, "days_push": 16, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1688, forks 652 (observed 2026-08-28T04:05:22.347885+00:00)

## What it is
A JWT authentication service built with Spring Boot and Spring Security, backed by MySQL, featuring short-lived access tokens and rotating, revocable refresh tokens. It serves as a reference implementation/boilerplate for token-based authentication in Java microservices, with OpenAPI/Swagger documentation.

## Use cases
- add jwt authentication to a spring boot app
- reference implementation of refresh token rotation
- boilerplate for a spring security login api
- set up token-based auth with mysql user storage
- learn how jwt authentication works in java
- starting point for a microservices auth service

## When to choose
- you're building a Java/Spring Boot backend and need JWT auth out of the box
- you want a working example of access + refresh token flows with revocation
- you need a self-hosted authentication service you can adapt to your stack

## When to avoid
- you use a non-JVM stack or a framework other than Spring
- you need a full-featured identity provider with SSO, MFA, or social login
- you prefer managed auth solutions like Auth0 or Keycloak

## Facets
- artifact type: application
- maturity: active
- function: auth, api-framework, http-server, security
- domain: backend, web-development, security, apis
- platform: jvm
- tags: jwt, spring-boot, spring-security, refresh-tokens, mysql, openapi, swagger, authentication-service, boilerplate, web-server, docker

## Member repositories
- murraco/spring-boot-jwt (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:22.347885+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-30T03:38:48.989145+00:00, confidence not recorded.
  - readme: https://github.com/murraco/spring-boot-jwt (fetched 2026-08-28T04:05:22.347885+00:00, sha cb6a2f50e989)
- Data as of 2026-08-30T08:39:29.467469+00:00.
