Skip to content

Authentication

Can't sign in to the dashboard

  • Use the administrator credentials configured in .env (KC_USER_EMAIL and KC_USER_PASSWORD) or in values.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:

Authorization failed. Please provide your API-secret

means the request reached MATVIS but the Firewall API key was missing, malformed, or not accepted. Check that:

  • the Authorization header is present and holds a valid Firewall API key; see API keys. The Anthropic-compatible /api/v1/messages endpoint also accepts the key in the x-api-key header;
  • 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:

License invalid or expired. Access denied.

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

API keys are not loaded yet. Retry shortly.

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.