Documentation Index
Fetch the complete documentation index at: https://docs-sora-frame.vercel.app/llms.txt
Use this file to discover all available pages before exploring further.
POST /api/auth/login
Authenticates admin user and establishes a session for accessing protected endpoints.Request
Admin password configured in environment variables
Response
Status Codes
Login successful, session established
Missing or invalid password in request body
Invalid password provided
Session Management
After successful login:- Session cookie is set automatically
- Cookie is required for all protected endpoints
- Session persists until server restart or explicit logout
Usage Example
Security Notes
- Password is configured via
ADMIN_PASSWORDenvironment variable - Session cookies are HTTP-only for security
- No password is returned in response
- Failed login attempts are logged

