---
title: "Jwt Login"
method: POST
path: "/v1/auth/jwt/login"
tags: ["Teams", "auth"]
---

# Jwt Login

`POST /v1/auth/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

## Request body

- LoginRequest — Login request model.
  - `email` string, required
  - `password` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/vijilai/apis/vijil-console-api-combined.md) · [All operations](https://skmtc.net/vijilai/apis/vijil-console-api-combined/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vijilai/vijil-console-api-combined/versions/a8b2ee2b2d06/schema)
