---
title: "Redirect to GitHub login OAuth"
method: GET
path: "/auth/github/start"
---

# Redirect to GitHub login OAuth

`GET /auth/github/start`

## Request

- Base URL: `https://api.eurobase.dev`
- URL: `https://api.eurobase.dev/auth/github/start`
- Auth: none declared

S256 PKCE binds the authorization code to the encrypted per-state verifier. The login state is bound to this browser: the redirect sets __Host-eurobase_login_binding (reusing a value the browser already holds), and the callback accepts the state only from that browser.

## Query parameters

- `returnTo` string

## Other responses

- `302`: Redirect to GitHub OAuth, or to /auth/callback with status=error and reason github-operator-config-required or client-ip-unavailable

---

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