---
title: "login with username and password"
method: POST
path: "/inter-api/supos/auth/login"
tags: ["supos/auth", "suposAuth"]
---

# login with username and password

`POST /inter-api/supos/auth/login`

## Request body

- LoginReq
  - `password` string, required
  - `username` string, required

## Response `200`

A successful response.

- object
  - `code` integer
  - `data` UserInfoVO
    - `buttonList` string[]
    - `email` string
    - `email_verified` boolean
    - `enabled` boolean
    - `firstName` string
    - `homePage` string
    - `preferredUsername` string, required
    - `resourceList` ResourceInfo[]
      - `methods` string[]
      - `policyId` string
      - `resourceId` string
      - `uri` string, required
    - `roleList` RoleInfo[]
      - `clientRole` boolean
      - `roleDescription` string
      - `roleId` string, required
      - `roleName` string, required
    - `sub` string, required
    - `superAdmin` boolean
  - `msg` string

---

[API](https://skmtc.net/freezonex/apis/untitled-api.md) · [All operations](https://skmtc.net/freezonex/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/freezonex/untitled-api/revisions/1837fd35a283/schema)
