Edge
Apply IP and path rate limits at the proxy. Treat proxy headers as trusted only when they come from controlled infrastructure.
Runbook
Use this page as the deployment and production-readiness checklist for the service.
| Setting | Purpose |
|---|---|
AUTH_JWT_AUDIENCE |
Audience claim expected by downstream services. |
AUTH_JWT_KEY_ID |
JWT key identifier exposed as kid in tokens and JWKS. |
AUTH_JWT_PRIVATE_KEY_PATH |
Path to the RSA private key used for signing tokens. |
AUTH_JWT_PUBLIC_KEY_PATH |
Path to the RSA public key exposed through JWKS. |
AUTH_SMTP_* |
SMTP host, TLS mode, credentials, sender address, and sender name. |
Apply IP and path rate limits at the proxy. Treat proxy headers as trusted only when they come from controlled infrastructure.
Add account-aware limits for username, email, phone, user id, and verification target when the backing store is available.
Rotate refresh tokens, revoke token families on reuse, and rotate JWT signing keys through JWKS with overlapping validity windows.
The repository includes a Pages workflow that publishes the static docs site. It copies
docs/ and the current openapi/auth-v0.yaml into the Pages
artifact.
docs/, openapi/auth-v0.yaml, and the Pages workflow.master or run the workflow manually.cmake --build cmake-build-debug -j$(nproc) --target smirkly-auth smirkly-auth_unittest
ctest --test-dir cmake-build-debug --output-on-failure
ruby -e "require 'yaml'; YAML.load_file('openapi/auth-v0.yaml')"