Skip to main content


Security App and Plugin for Caddy v2. It includes:

  • Authentication Plugin for implementing Form-Based, Basic, Local, LDAP, OpenID Connect, OAuth 2.0, SAML Authentication (formerly caddy-auth-portal)
  • Authorization Plugin for HTTP request authorization based on JWT/PASETO tokens (formerly caddy-authorize, caddy-auth-jwt)
  • Credentials Plugin for managing credentials for various integrations

Please show your appreciation for this work:

  1. Promote caddy-security project on social media (Twitter, LinkedIn, HN)
  2. Star caddy-security ⭐ ⭐ ⭐
  3. Sponsor @greenpau

Please ask questions via Github Issues or reach out directly via LinkedIn. I am happy to help you! @greenpau

Here is the list of Caddy v2 plugins I maintain:

Watch the following Youtube videos:

  • Setting Up Local Authentication: Video and Config Gist
  • Login with App Authenticator and Yubico U2F: Video
  • Customizing Caddy Auth Portal UI: Video
  • Caddy Authorize: Authorizing HTTP Requests: Video