---
title: "Oauth Callback"
method: GET
path: "/api/storage/supabase/callback"
tags: ["storage", "storage"]
---

# Oauth Callback

`GET /api/storage/supabase/callback`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/storage/supabase/callback`
- Auth: none declared

Handle Supabase OAuth callback.

This endpoint is called by Supabase after user authorizes.
It exchanges the code for tokens and redirects to frontend.

## Query parameters

- `code` string, required
- `state` string, required
- `error` string, nullable
- `error_description` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
