POST
/api/auth/github/callback
GitHub OAuth callback
Exchanges a GitHub OAuth authorization code for a session token.
curl -s -X POST "$BASE/api/auth/github/callback" \
-H "Content-Type: application/json" \
-d '{"code": "github_auth_code_here"}'Request Body
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| code | string | Y | — | GitHub OAuth authorization code |