> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yolocode.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# OAuth Callback

> GitHub OAuth callback handler

Handles the GitHub OAuth redirect. Accepts `code` and `state` query parameters and redirects the user back to the originating app (mobile, Expo, or web) with the auth code.

### Query Parameters

**code** `string` *required*

GitHub OAuth authorization code.

**state** `string` *required*

Base64-encoded state containing the return origin URL.

### Response

Redirects to the origin URL with the auth code appended. Supports `myapp://`, `exp://`, and validated web origins.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.