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

# Google Sso Callback

`GET /auth/google/callback`

## Request

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

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/nomi-api.md) - [All operations](https://skmtc.dev/nomi/apis/nomi-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nomi/apis/nomi-api/revisions/63a2f545499c?raw)
