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

# Oauth Google Callback

`GET /api/auth/oauth/google/callback`

Handle the OAuth callback from Google.

Exchanges the authorization code for user info, creates/gets the user,
issues a refresh token, and redirects to the app with the token in a
URL hash fragment (never sent to the server or logged by proxies).

## Query parameters

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

## Cookies

- `oauth_state` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-14** `e202091512bc` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/mozilla-ai/apis/clawbolt/changes/api/auth/oauth/google/callback/get.md)

---

[API](https://skmtc.dev/mozilla-ai/apis/clawbolt.md) · [All operations](https://skmtc.dev/mozilla-ai/apis/clawbolt/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mozilla-ai/clawbolt/revisions/579c110de1b8/schema)
