Regular User Login
Authenticates a user with email and password credentials.Authentication
No authentication required.Request Body
User’s email address
User’s password
Response
Success message
Authenticated user information
Supabase authentication session
Error Responses
Error message
401- Unauthorized (invalid credentials)500- Internal server error
Example Request
Example Response
Usage Notes
- Store the
access_tokensecurely in your client application - Include the access token in the
Authorizationheader for subsequent API requests:Authorization: Bearer <access_token> - Use the
refresh_tokento obtain a new access token when it expires - The session includes both MongoDB user data and Supabase authentication data