Authentication¶
Can't sign in to the dashboard¶
- Use the administrator credentials configured in
.env(KC_USER_EMAILandKC_USER_PASSWORD) or invalues.secrets.yaml. - Sign-in is handled by Identity. If every login fails, read its logs
(
docker compose logs keycloak) and verify the database is healthy. - Ensure the client secrets (
KEYCLOAK_CLIENT_SECRET_*, see Secrets) are the ones the deployment started with.
API requests return 403¶
A 403 response like:
means the request reached MATVIS but the Firewall API key was missing, malformed, or not accepted. Check that:
- the
Authorizationheader is present and holds a valid Firewall API key; see API keys. The Anthropic-compatible/api/v1/messagesendpoint also accepts the key in thex-api-keyheader; - the key has not expired, been revoked, or been disabled (its status is shown in the key list).
A key is made either for traffic (the filter and proxy endpoints) or for configuration
management. Used on the wrong kind of endpoint, it gets a 403 with one of these texts:
This API key is for configuration management only and cannot be used for traffic endpoints.
This API key is not authorized for configuration management.
API requests return 403 with a license message¶
A 403 with this text means the MATVIS license is not valid:
See Licensing. With some licenses, an invalid license does not reject calls: MATVIS keeps serving and logs the problem.
API requests return 503 right after startup¶
The Firewall API has not loaded its key list yet. The answer carries a Retry-After header. Wait a
few seconds and send the request again.