---
title: "OAuth2 password grant — returns Bearer JWT"
method: POST
path: "/user/token"
tags: ["user"]
---

# OAuth2 password grant — returns Bearer JWT

`POST /user/token`

OAuth2 password grant endpoint.

Swagger UI's **Authorize** dialog uses this automatically when you fill in
the *HumanLogin* username + password fields. Returns a Bearer JWT that
Swagger UI injects as `Authorization: Bearer ...` on all subsequent calls.

This is functionally equivalent to `POST /user/login` but returns the token
in the response body rather than as a cookie — the standard OAuth2 pattern
expected by Swagger UI.

## Response `200`

Access token for use in Authorization: Bearer header

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-04-13** `76e8f6063728` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/jentic/apis/jentic-control-plane-api/changes/user/token/post.md)

---

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