---
title: "Handle OAuth callback"
method: GET
path: "/auth/{provider}/callback"
tags: ["auth"]
---

# Handle OAuth callback

`GET /auth/{provider}/callback`

Processes the OAuth callback from any provider

## Path parameters

- `provider` string, required

## Query parameters

- `code` string, required
- `state` string, required

## Other responses

- `307` — Temporary Redirect
- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

## Changes

> 56 revisions in range; 1 not diffed.

- **2025-12-08** `e6f59507410d` — 1 info
  - endpoint added
- **2025-06-02** `0c070796939d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/marmotdata/apis/marmot-api/changes/auth/:provider/callback/get.md)

---

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