Caddy Server Authentication
Using the Organizr authorization API
Using Caddy and the reauth plugin you can accomplish the same using the following block:
Using OAuth / JWT tokens
Here is a sample Caddy directive using caddy-jwt to protect a path using the Organizr token:
The secret to use to validate the token needs to be passed to Caddy either as an environment variable named JWT_SECRET
or in a file, specified with the secret
configuration option.
Note that the http.jwt plugin is not installed in default Caddy builds.
You should not protect the /
Organizr root path. Organizr handles it on its ow
Last updated