---
title: "Oauth Complete"
method: POST
path: "/api/auth/oauth-complete"
tags: ["auth"]
---

# Oauth Complete

`POST /api/auth/oauth-complete`

## Request

- Base URL: `https://marketcrew.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://marketcrew.ai/api/auth/oauth-complete`
- Auth: HTTP bearer

Report the outcome of a social sign-in to the funnel.

A Google sign-in never touches /register — it goes browser → Supabase → /auth/callback,
so the whole funnel was blind to it: the only real signup of August (25.08, via Google)
left no analytics trace and was found by hand in the database. The callback page calls
this with its fresh access token; the token is verified here, and a user whose account
was created moments ago is a signup, not a login.

## Request body

- object

## Response `200`

Successful Response

- APIResponse: Generic API response model
  - `success` boolean, required
  - `message` string, required
  - `data` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/marketcrew/apis/cappilot.md) · [All operations](https://skmtc.dev/marketcrew/apis/cappilot/llms.txt) · [OpenAPI document](https://skmtc.dev/marketcrew/apis/cappilot/revisions/7036e9c74d40?raw)
