---
title: "Complete the browser OIDC login flow"
method: GET
path: "/callback"
tags: ["Auth"]
---

# Complete the browser OIDC login flow

`GET /callback`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/callback`
- Auth: none required

## Query parameters

- `code` string
- `state` string
- `iss` string, uri

## Other responses

- `302`: Redirect to the returnTo path on success or /api/login on failure.
- `401`: Unauthorized

## Changes

- **2026-04-18** `518dcf68679a`: 1 info
  - added the non-success response with the status `401`
- **2026-03-30** `12085561b059`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/changes/callback/get.md)

---

[API](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api.md) - [All operations](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/llms.txt) - [OpenAPI document](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/revisions/6ad730b13e59?raw)
