---
title: "Sso Finish"
method: POST
path: "/api/v1/auth/sso/{provider}/finish"
---

# Sso Finish

`POST /api/v1/auth/sso/{provider}/finish`

## Request

- Base URL: `https://api.mesharc.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mesharc.dev/api/v1/auth/sso/{provider}/finish`
- Auth: none declared

The provider's answer, brought back by the front end. Answers as
`/login` does -- the session, or a challenge ticket for an account with
a second factor -- plus `next`; for a link, `{"linked": true}`.

## Path parameters

- `provider` string, required

## Request body

- SSOFinishRequest
  - `state` string
  - `binding` string
  - `code` string
  - `error` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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