Yolocode

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

codestringrequired(query)

GitHub OAuth authorization code.

statestringrequired(query)

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.

On this page