---
title: "Google OAuth callback (SPA POST — code + state in body)"
method: POST
path: "/v1/auth/google/callback"
tags: ["Authentication"]
---

# Google OAuth callback (SPA POST — code + state in body)

`POST /v1/auth/google/callback`

## Request

- Base URL: `https://api.sprixen.com`
- URL: `https://api.sprixen.com/v1/auth/google/callback`
- Auth: none declared

## Response `200`

Auth successful — cookie set, user returned

## Other responses

- `400`: Missing code or state
- `401`: Invalid or expired state nonce

---

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