Authorizer provider configuration
This is the configuration for the authorizer provider within Caddy's authentication handler. It validates JWT/PASETO tokens and enforces access control policies.
authorizer
authentication
Module ID: http.authentication.providers.authorizer
http.authentication.providers.authorizer
Note: This is NOT a standalone handler - it's used as a provider within the authentication handler via the providers.authorizer field.
providers.authorizer
const provider: SecurityAuthorizerProvider = { gatekeeper_name: "mygatekeeper", route_matcher: "*",}; Copy
const provider: SecurityAuthorizerProvider = { gatekeeper_name: "mygatekeeper", route_matcher: "*",};
Optional
Name of the gatekeeper/policy defined in the security app config. References a policy in /config/apps/security/config/authorization_policies
/config/apps/security/config/authorization_policies
Route matcher pattern for this provider.
Authorizer provider configuration
This is the configuration for the
authorizerprovider within Caddy'sauthenticationhandler. It validates JWT/PASETO tokens and enforces access control policies.Module ID:
http.authentication.providers.authorizerNote: This is NOT a standalone handler - it's used as a provider within the
authenticationhandler via theproviders.authorizerfield.Example