---
title: "Callback endpoint for OAuth2 Authorization Code grant flows as part of the OIDC spec."
method: GET
path: "/v2/oidc/callback"
tags: ["OIDC"]
---

# Callback endpoint for OAuth2 Authorization Code grant flows as part of the OIDC spec.

`GET /v2/oidc/callback`

## Request

- Base URL: `https://docs.tetrate.io` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.tetrate.io/v2/oidc/callback`
- Auth: none declared
- TypeScript: <https://skmtc.dev/tetrate/apis/tetrate-service-bridge-api/docs/v2/oidc/callback/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `code` string
- `error` string
- `state` string, required
- `errorDescription` string
- `errorUri` string

## Response `200`

A successful response.

- object

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/tetrate/apis/tetrate-service-bridge-api.md) - [All operations](https://skmtc.dev/tetrate/apis/tetrate-service-bridge-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tetrate/apis/tetrate-service-bridge-api/revisions/2f19c3a1ae57?raw)
