Skip to main content
server.auth enables a login flow for the web UI and protects the API endpoints. Authentication is JWT-based.

Options

cookies

Example

snapr.yaml
Always set server.secret when authentication is enabled. A weak or default secret allows token forgery.
For HTTPS deployments behind a reverse proxy, set cookies.secure: true.