# greenpau/caddy-security

🔐 Authentication, Authorization, and Accounting (AAA) App and Plugin for Caddy v2. 💎 Implements Form-Based, Basic, Local, LDAP, OpenID Connect, OAuth 2.0 (Github, Google, Facebook, Okta, etc.), SAML Authentication. MFA/2FA with App Authenticators and Yubico. 💎 Authorization with JWT/PASETO tokens. 🔐

Repository: https://github.com/greenpau/caddy-security
Canonical: https://ross.abutalabs.com/products/caddy-security
Homepage: https://authcrunch.com/
Language: Go
License: Apache-2.0
License Family: permissive
Topics: caddy-plugin, caddy2, security, jwt, authorization, authentication, auth, paseto, paseto-tokens, saml, oauth2, ldap, openid, acl, access-control, websecurity, secops, secdevops, sso, webauthn
Last push: 2026-06-29T19:40:15+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 90, release rhythm 90, longevity 100
- inputs: {"age_days": 1691, "days_push": 65, "days_rel": 65, "gap_med": 1.0, "n_releases_24m": 9}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2225, forks 103 (observed 2026-08-28T04:06:28.696503+00:00)

## What it is
A security app and plugin for Caddy v2 providing authentication, authorization, and accounting (AAA). It supports Form-Based, Basic, Local, LDAP, OpenID Connect, OAuth 2.0, and SAML authentication, MFA/2FA, and JWT/PASETO-based request authorization.

## Use cases
- add single sign-on to a Caddy web server
- protect backend services behind OAuth2 or OpenID Connect login
- authorize HTTP requests with JWT or PASETO tokens
- enable MFA and YubiKey-based two-factor authentication
- integrate LDAP or SAML authentication with Caddy
- implement access control lists for web routes

## When to choose
- you already use Caddy v2 and want built-in AAA without a separate auth proxy
- you need multiple auth protocols (OIDC, OAuth2, SAML, LDAP) in one plugin
- you want token-based authorization with JWT or PASETO

## When to avoid
- you run nginx, Traefik, or another reverse proxy instead of Caddy
- you need a standalone identity provider rather than a gateway plugin
- you require extensive enterprise support or a large maintainer team

## Facets
- artifact type: plugin
- maturity: active
- function: auth, authorization, middleware, security, http-server
- domain: security, web-development, backend, developer-tools
- platform: go, windows, self-hosted
- tags: caddy-plugin, sso, openid-connect, oauth2, saml, ldap, jwt, paseto, mfa, webauthn, access-control, aaa, linux, macos, docker, web-server

## Member repositories
- greenpau/caddy-security (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:28.696503+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:44:55.369970+00:00, confidence not recorded.
  - readme: https://github.com/greenpau/caddy-security (fetched 2026-08-28T04:06:28.696503+00:00, sha 11a74f95ea67)
  - homepage: https://authcrunch.com/ (fetched 2026-08-29T10:25:23.745645+00:00, sha 5dfeec922f16)
- Data as of 2026-08-30T08:39:29.467469+00:00.
