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

# Google Callback

`GET /api/v1/auth/google/callback`

## Request

- Base URL: `https://api.clipmaster.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.clipmaster.app/api/v1/auth/google/callback`
- Auth: HTTP bearer

Google OAuth callback - Returns HTML that posts token to opener window

1. Exchanges authorization code for access token
2. Fetches user profile from Google
3. Creates/updates user in database
4. Auto-promotes admin emails
5. Issues JWT Bearer token (1 hour expiry)
6. Returns HTML with window.postMessage to deliver token

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/clipmaster/apis/semantic-video-clip-ai-agent.md) · [All operations](https://skmtc.dev/clipmaster/apis/semantic-video-clip-ai-agent/llms.txt) · [OpenAPI document](https://skmtc.dev/clipmaster/apis/semantic-video-clip-ai-agent/revisions/c9b8333cd22b?raw)
