---
title: "Logs in a user and returns an authentication token."
method: GET
path: "/dx/api/people/v1/auth/login"
tags: ["Authentication"]
---

# Logs in a user and returns an authentication token.

`GET /dx/api/people/v1/auth/login`

Authenticates user credentials and provides an authentication token upon successful login. Note that API based login with credentials is not supported for OIDC-based authentication.
    If accessed via a browser, this endpoint will initiate the OIDC authentication flow (if configured) and then redirect back to the application landing page with the token.

## Response `200`

Login successful.

## Other responses

- `400` — Bad request. The request is missing required parameters or is invalid.

---

[API](https://skmtc.net/hcl-tech-software/apis/people-api-v1-server.md) · [All operations](https://skmtc.net/hcl-tech-software/apis/people-api-v1-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hcl-tech-software/people-api-v1-server/versions/2267cfc94cf0/schema)
