The authentication API allows users to verify their identity and manage their session state. Authentication is optional but enables features like event submissions and personalized content.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/KingPsychopath/oooc-fete-finder/llms.txt
Use this file to discover all available pages before exploring further.
POST /api/auth/verify
Validates user details and creates an authenticated session by setting theoooc_user_session cookie.
Request
User’s first name (minimum 2 characters)
User’s last name (minimum 2 characters)
Valid email address (max 254 characters)
User consent acknowledgment (must be
true)Optional source identifier (defaults to
"fete-finder-auth")Response
Indicates if the verification was successful
Verified email address (returned on success)
Storage provider used (e.g.,
"postgres", "memory")Status message:
"User verified" for new users or "Existing user verified" for returning usersError message (returned on failure)
Detailed validation errors (when applicable)
Rate limits
- IP-based: 60 requests per minute per IP
- Email+IP-based: 6 requests per 15 minutes per email/IP combination
Retry-After header indicating seconds to wait.
Examples
GET /api/auth/session
Returns the current authentication session state for both public users and admin users.Response
Always
trueWhether the user has a valid public session
Whether the user has admin privileges
Email address from the session cookie, or
null if not authenticatedExamples
DELETE /api/auth/session
Clears the current user session by removing theoooc_user_session cookie.
Response
Always
true