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

# Google Oauth Callback

`GET /auth/oauth/google/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/auth/oauth/google/callback`
- Auth: none declared

Handle Google OAuth callback.
Exchange code for tokens and create/login user.
Uses different OAuth apps based on RU_MARKET_MODE environment variable.

## Query parameters

- `code` string, required: Authorization code from Google
- `state` string, required: OAuth state parameter (required, CSRF binding)

## 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)
