---
title: "LDAP login"
method: POST
path: "/users/ldap/login"
tags: ["SSO"]
---

# LDAP login

`POST /users/ldap/login`

Authenticates a user against an LDAP server.

## Request body

- object
  - `providerId` integer
  - `username` string
  - `password` string
  - `rememberMe` boolean

## Response `200`

Login successful.

## Other responses

- `400` — Missing fields.
- `401` — Invalid credentials.
- `403` — User not allowed.
- `404` — Provider not found.

---

[API](https://skmtc.dev/termix/apis/termix-api.md) · [All operations](https://skmtc.dev/termix/apis/termix-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/termix/termix-api/revisions/f4ef343eff1b/schema)
