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

# Google Callback

`GET /api/auth/google/callback`

## Request

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

Handle Google OAuth callback → validate CSRF state → redirect to FE with auth_code.

## Query parameters

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

## Cookies

- `oauth_state_google` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/gateco/apis/gateco-api.md) · [All operations](https://skmtc.dev/gateco/apis/gateco-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gateco/apis/gateco-api/revisions/5debaf204950?raw)
