Dev.to
7/20/2026

The original title is: "One login to rule them all: centralized auth for internal tools with Caddy"
Original: One login to rule them all: centralized auth for internal tools with Caddy
Short summary
A practical guide to setting up centralized OAuth2 authentication for internal tools using Caddy and the caddy-security plugin. Covers installing Caddy with plugins, configuring systemd, registering an Azure AD app, and wiring up identity providers, authentication portals, and authorization policies in the Caddyfile.
- •Use Caddy with caddy-security plugin for centralized OAuth2/OIDC auth against Azure AD
- •Covers installation, systemd setup, and Azure AD app registration
- •Three core concepts: identity provider, authentication portal, and per-service authorization policy
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



