---
title: "Oauth Callback"
method: GET
path: "/api/snowflake/oauth/callback"
tags: ["snowflake"]
---

# Oauth Callback

`GET /api/snowflake/oauth/callback`

Complete the authorization code flow and persist the user's grant.

Not authentication-gated — the browser arrives from Snowflake cross-site
and may carry no cookie, so the acting user comes from the single-use
transaction handle, redeemed before any other parameter is trusted. A
cookie that *does* arrive must agree with it, or one member could start a
flow and lure another into completing it onto the starter's grant, filing
the colleague's Snowflake identity under the starter's account.

## Query parameters

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

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-25** `7c2c045c836c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/changes/api/snowflake/oauth/callback/get.md)

---

[API](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api.md) · [All operations](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/quadrillion/quadrillion-cloud-api/revisions/f4de1bab5efb/schema)
