/caddy-tailscale-auth

Caddy module to provide authentication with Tailscale.

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Tailscale authentication plugin for Caddy

This package provides a module for Caddy that implements authentication using the Tailscale network (Tailnet). When a connection comes in over a Tailnet information about the remote party is available such as the user account (for personal devices) and tags (for non-personal "tagged" devices). This information can then be used to limit access to routes.

Building

The xcaddy tool can be used to build Caddy to include this plugin:

xcaddy build --with github.com/sprucehealth/caddy-tailscale-auth