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

# Start GitHub OAuth

> Starts GitHub OAuth sign-in for dashboard users.

## Usage

This endpoint is equivalent to `GET /api/auth/sign-in/github`.

* Redirects to GitHub OAuth authorization.
* Sets an OAuth state cookie used by the callback flow.

<Info>
  This is a browser redirect endpoint. It is not intended for server-to-server API integration.
</Info>

<RequestExample>
  ```bash theme={null}
  curl -i https://nest.feather.mupeni.dev/api/auth/github
  ```
</RequestExample>

<ResponseExample>
  ```http 302 theme={null}
  Location: https://github.com/login/oauth/authorize?client_id=...&redirect_uri=...&scope=read:user%20user:email&state=...
  Set-Cookie: oauth_state=...; HttpOnly; Secure; SameSite=Lax
  ```
</ResponseExample>
