Forms
Klub provides ready-to-use endpoints for login, logout, magic links, and account updates. You can use them directly or build your own UI on top.
Endpoints
POST /klub/loginPOST /klub/logoutPOST /klub/signup(magic-link signup)POST /klub/magic-link(magic-link login)GET /klub/magic-link(verification)POST /klub/accountPOST /klub/account/delete
Security features
- CSRF protection on state-changing routes.
- Rate limiting on public endpoints.
- Optional captcha and Turnstile checks.
- Safe redirects enforced by
klub_safe_redirect.