Jwt Login
Authenticate with email + password, sets JWT token in httpOnly cookie.
Args: login_request: Login credentials (email and password) response: FastAPI response object to set cookies user_manager: FastAPI Users user manager
Returns: JWT token response with access_token and token_type (token also set in httpOnly cookie)
Raises: HTTPException: If authentication fails
POST
Jwt Login
Last modified on April 21, 2026
Previous
Jwt LogoutLogout user by clearing the authentication cookie.
Args:
response: FastAPI response object to clear cookies
Returns:
Success message
Next
Jwt Login