---
title: "Registry login"
method: POST
path: "/api/v1beta/registry/auth/login"
tags: ["registry"]
---

# Registry login

`POST /api/v1beta/registry/auth/login`

Trigger an interactive OAuth flow to authenticate with the configured registry. Only available in serve mode.

## Response `200`

Authenticated successfully

- object

## Other responses

- `400` — Bad Request - Registry OAuth not configured
- `500` — Internal Server Error

---

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