---
title: "Login Post"
method: POST
path: "/idp/login"
tags: ["Identity Provider"]
---

# Login Post

`POST /idp/login`

## Request

- Base URL: `https://api.chutes.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.chutes.ai/idp/login`
- Auth: none declared

Handle login form submission.

## Request body `application/x-www-form-urlencoded`

- BodyLoginPostIdpLoginPost
  - `client_id` string, required
  - `redirect_uri` string, required
  - `state` string
  - `scope` string
  - `auth_method` string, required
  - `code_challenge` string
  - `code_challenge_method` string
  - `fingerprint` string, nullable
  - `hotkey` string, nullable
  - `signature` string, nullable
  - `nonce` string, nullable

## Response `200`

Successful Response

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `23e8895b217d`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-08-26** `8d909638091e`: 1 info
  - endpoint added
- **2026-08-22** `05d9af05d87e`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/chutes/apis/chutes-api/changes/idp/login/post.md)

---

[API](https://skmtc.dev/chutes/apis/chutes-api.md) - [All operations](https://skmtc.dev/chutes/apis/chutes-api/llms.txt) - [OpenAPI document](https://skmtc.dev/chutes/apis/chutes-api/revisions/8add5b0e22da?raw)
