Authentication
Login, registration, 2FA verification, and PDPL consent flows.
The login page is the entry point to all 4 portals. A single form handles authentication for investors, issuers, admin, and staff users.

The login form validates inputs before submission and provides clear error feedback.

Enter your email address
Use a registered account email (e.g., test@alef.markets)
Enter your password
Passwords are case-sensitive and must meet minimum requirements
Click Sign In
The form submits to POST /api/v1/auth/login
Complete 2FA (if enabled)
Enter the 6-digit TOTP code from your authenticator app
Redirected to dashboard
Role-based routing: investors see /dashboard, admin sees /admin/dashboard
TOTP-based 2FA can be enabled from any portal's Settings page. Once enabled, a 6-digit code is required on every login.