---
title: "Google Drive Oauth Redirect"
method: GET
path: "/storage-providers/google-drive/callback"
tags: ["storage-providers"]
---

# Google Drive Oauth Redirect

`GET /storage-providers/google-drive/callback`

## Request

- Base URL: `https://studio-api.meganova.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://studio-api.meganova.ai/storage-providers/google-drive/callback`
- Auth: none declared

OAuth2 redirect handler — Google sends the user here after authorization.

This endpoint runs inside the popup window. It renders a small HTML page
that sends the authorization code back to the opener (main app) via
postMessage, then closes itself.

## Query parameters

- `code` string
- `state` string
- `error` string

## Response `200`

Successful Response

## Other responses

- `422`: Validation Error

---

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