---
title: "Authorize Complete"
method: POST
path: "/authorize/complete"
tags: ["mcp_discoverable"]
---

# Authorize Complete

`POST /authorize/complete`

Finish an aggregate connect flow: mint the gateway authorization code for the
signed-in user and hand it back to the DCR client, by 303 redirect (default) or, for
a loopback client on a different machine, as a copyable callback URL
(``delivery=manual``). POST plus the per-flow HttpOnly cookie set at /authorize; an
anonymous or bad-flow request just 400s. The native-client consent page adds
``decision`` (approve or deny) and the ``team_id`` the credential is attributed to.

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-27** `b694deb1e459` — 2 info
  - api tag `mcp_discoverable` added
  - api tag `mcp` removed
- **2026-09-26** `cfac079bcc04` — 2 info
  - api tag `mcp` added
  - api tag `mcp_discoverable` removed
- **2026-09-25** `a4fccd4bf54d` — 2 info
  - api tag `mcp_discoverable` added
  - api tag `mcp` removed
- **2026-09-24** `731afbea6a1b` — 2 info
  - api tag `mcp` added
  - api tag `mcp_discoverable` removed
- **2026-09-23** `7ed45f30a5f0` — 2 info
  - api tag `mcp_discoverable` added
  - api tag `mcp` removed

[Full history](https://skmtc.dev/flock/apis/litellm-api/changes/authorize/complete/post.md)

---

[API](https://skmtc.dev/flock/apis/litellm-api.md) · [All operations](https://skmtc.dev/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flock/apis/litellm-api/revisions/b694deb1e459?raw)
