About Caddy Security
Caddy Security is a security app for Caddy v2 that bundles three plugins: an authentication plugin, an authorization plugin, and a credentials plugin. It is written in Go, released under the Apache-2.0 license, and sold under the AuthCrunch name on its website. It adds single sign-on style protection in front of anything that Caddy serves.
Authentication supports form-based, basic, local, LDAP, OpenID Connect, OAuth 2.0 with providers such as GitHub, Google, Facebook, and Okta, and SAML. Multi-factor authentication works with authenticator apps and Yubico devices, and topics mention WebAuthn. The authorization plugin checks HTTP requests using JWT or PASETO tokens and access control lists, and the credentials plugin manages secrets for various integrations.
It supports portals as well as direct OAuth policies without a portal, and persistent runtime state can be enabled so sessions and signing keys survive restarts. Caddy Security suits homelab users and teams who already run Caddy as a reverse proxy and want built-in login and access control without a separate identity gateway.
Key features
- Form, basic, LDAP, OIDC, OAuth 2.0, and SAML login
- Multi-factor authentication with Yubico
- JWT and PASETO token authorization
- Access control lists for routes
- Credentials management plugin
- Persistent sessions across restarts
Good fit for
- →Protecting self-hosted apps behind Caddy
- →Adding SSO login to a reverse proxy
- Built with
- Go
- Tags
- caddy
- authentication
- authorization
- sso
- oidc
- saml
- mfa
- reverse-proxy
Caddy Security: questions and answers
- What is Caddy Security used for?
- Caddy Security is an authentication, authorization, and accounting plugin for the Caddy v2 web server, supporting forms, LDAP, OIDC, OAuth 2.0, SAML, MFA, and JWT or PASETO tokens. It is a good fit for protecting self-hosted apps behind Caddy and adding SSO login to a reverse proxy.
- Is Caddy Security open source?
- Yes. Caddy Security is open source under the Apache-2.0 licence. Its source code is on GitHub at greenpau/caddy-security and is written mainly in Go.
- Is Caddy Security free?
- Yes. Caddy Security is open source, so the software itself is free to use.
- Can I self-host Caddy Security?
- Yes. Caddy Security can be self-hosted on your own server or infrastructure; there is no official hosted version.
- What are some alternatives to Caddy Security?
- Similar open-source tools in the Auth & Identity category include Casdoor, Keycloak and Authentik. SaaS products in the same category include Stytch, Auth0 and Authress.
- Is Caddy Security actively maintained?
- Yes. The most recent commit to Caddy Security was on 29 September 2026, and the latest release is v1.3.0, published on 28 September 2026. The project has 2.2k stars on GitHub.
Open-source alternatives to Caddy Security
See all
Casdoor
Auth & Identity
An open-source Agent-first Identity and Access Management (IAM) /LLM MCP & agent gateway a
Apache-2.0vs Auth0★ 15k
Keycloak
Auth & Identity
Open Source Identity and Access Management For Modern Applications and Services
Apache-2.0vs Auth0★ 37k
Authentik
Auth & Identity
The authentication glue you need.
OSSvs Auth0★ 26k
OAuth2 Proxy
Auth & Identity
A reverse proxy that provides authentication with Google, Azure, OpenID Connect and many m
MITvs Cloudflare Zero Trust★ 15k
ZITADEL
Auth & Identity
ZITADEL - Identity infrastructure, simplified for you.
AGPL-3.0vs Auth0★ 15k
Logto
Auth & Identity
🧑🚀 Authentication and authorization infrastructure for SaaS and AI apps, built on OIDC
MPL-2.0vs Auth0★ 15k
SaaS alternatives to Caddy Security
See all
Stytch
Auth & Identity
Authentication and authorization APIs for passwordless login, MFA and B2B SSO
SaaS
Auth0
Auth & Identity
Auth0 is an authentication and authorization platform that lets developers add login, single sign-on and access control to apps with SDKs and quickstarts.
SaaS
Authress
Auth & Identity
Hosted login with fine-grained access control for SaaS applications
SaaS
FusionAuth
Auth & Identity
Customer identity platform for login, MFA and SSO, self-hosted or cloud
SaaS
LoginRadius
Auth & Identity
Customer identity management with social login, SSO and MFA
SaaS
Authsignal
Auth & Identity
Step-up authentication and passkey APIs for fraud-resistant logins
SaaS

