---
title: "Check auth configuration"
method: POST
path: "/auth"
tags: ["System"]
---

# Check auth configuration

`POST /auth`

Validate credentials for a registry and, if available, get an identity
token for accessing the registry without password.

## Request body

- AuthConfig
  - `username` string
  - `password` string
  - `email` string
  - `serveraddress` string

## Response `200`

An identity token was generated successfully.

- object
  - `Status` string, required — The status of the authentication
  - `IdentityToken` string — An opaque token used to authenticate a user after a successful login

## Other responses

- `204` — No error
- `401` — Auth error
- `500` — Server error

---

[API](https://skmtc.net/nhost/apis/docker-engine-api.md) · [All operations](https://skmtc.net/nhost/apis/docker-engine-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nhost/docker-engine-api/versions/2b8dc7a7cc52/schema)
