---
title: "Google Sso Callback"
method: GET
path: "/auth/google/callback"
tags: ["Auth", "Google SSO"]
---

# Google Sso Callback

`GET /auth/google/callback`

Handle Google SSO OAuth callback.

Exchanges the authorization code for tokens and creates/logs in the user.

## Query parameters

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

## Response `200`

Successful Response

- AccessTokenResponse
  - `user_id` string, uuid, required
  - `access_token` string, required
  - `access_expires` integer, required
  - `refresh_token` string, required
  - `refresh_expires` integer, required
  - `token_type` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/nomi/apis/fastapi.md) · [All operations](https://skmtc.dev/nomi/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nomi/fastapi/revisions/63a2f545499c/schema)
