---
title: "Google Oauth Callback"
method: GET
path: "/auth/google/callback"
tags: ["auth", "billing"]
---

# Google Oauth Callback

`GET /auth/google/callback`

## Request

- Base URL: `https://www.oxfordledge.com` (the document declares no server; this is the origin it was published from)
- URL: `https://www.oxfordledge.com/auth/google/callback`
- Auth: none declared

Google OAuth authorization code callback.

Google redirects here after user authorizes. We exchange the code
server-side, create/find the user, set session cookies, and redirect
to the dashboard.

## Query parameters

- `code` string
- `state` string
- `error` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/oxfordledge/apis/oxford-ledge-api.md) · [All operations](https://skmtc.dev/oxfordledge/apis/oxford-ledge-api/llms.txt) · [OpenAPI document](https://skmtc.dev/oxfordledge/apis/oxford-ledge-api/revisions/e832a1260f0b?raw)
