Security & Compliance

Kapable takes security seriously. This guide covers the platform's security features, compliance controls, and best practices for keeping your organisation safe.

Authentication Methods

Magic Links (Default)

Every Kapable login uses a one-time magic link sent to the user's verified email. No passwords are stored or transmitted.

Single Sign-On (SSO)

Organisations on paid plans can configure SSO through:

Configure SSO in Auth Settings in your console. When SSO is enabled, users authenticate through your identity provider and are automatically provisioned in Kapable.

API Keys

For programmatic access, create scoped API keys in the API Keys section. Keys use the kapi_ prefix and are transmitted via the Authorization: Bearer header or X-Api-Key header.

Session Management

Token Lifecycle

Logout Everywhere

If you suspect a session has been compromised, use Logout Everywhere in your Account page. This instantly invalidates all active sessions across all devices and browsers.

Session Cookies

Audit Logging

Every security-relevant event is recorded in the audit log:

EventWhat's Recorded
LoginEmail, IP, user agent, method (magic link / SSO)
LogoutEmail, session duration
Failed loginEmail attempted, IP, failure reason
API key createdKey name, creator email
API key revokedKey ID, revoker email
Member invitedInvitee email, role assigned, inviter
Member deactivatedTarget email, actor, reason
Role changedMember, old role, new role, actor
Org settings changedField changed, actor

Access the full audit log at Auth Audit in your console. Export to CSV for compliance reporting.

API Key Security

Best Practices

  1. Name keys descriptively — e.g., "CI/CD Pipeline" or "Monitoring Dashboard"
  2. Rotate regularly — revoke and re-create keys every 90 days
  3. Use environment variables — never commit keys to source control
  4. One key per service — don't share keys between applications
  5. Monitor usage — check "last used" timestamps in the API Keys page

Key Prefixes

All Kapable tokens use recognizable prefixes for easy identification:

PrefixType
kses_Session token
kapi_API key
kagent_Agent key
kapp_App token

Revoking Keys

Revoke a key immediately from the API Keys page or via the API:

DELETE /v1/auth/api-keys/{key_id}
Authorization: Bearer kses_your_session_token

Revocation is instant — any in-flight requests using the revoked key will fail.

Data Protection

Encryption in Transit

Encryption at Rest

Compliance Features

Domain Allowlists

Restrict who can sign up or be invited to your organisation by configuring allowed email domains in Auth Settings.

Signup Controls

Configure whether your organisation allows:

Role-Based Access Control

Limit what members can do based on their assigned role. See the Roles & Permissions guide for details.

Incident Response

If you suspect a security incident:

  1. Logout Everywhere — Account page → Logout Everywhere (invalidates all sessions)
  2. Revoke API keys — API Keys page → revoke any potentially compromised keys
  3. Check the audit log — Auth Audit → filter by suspicious activity, export CSV
  4. Deactivate compromised accounts — Members page → deactivate affected members
  5. Review auth settings — ensure SSO and domain allowlists are properly configured

Security Headers

Kapable sets the following security headers on all responses:

Next Steps