---
title: "Github Login"
method: GET
path: "/api/v1/auth/github/login"
tags: ["authentication", "authentication", "github-oauth2"]
---

# Github Login

`GET /api/v1/auth/github/login`

## Request

- Base URL: `https://memory.kagura-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://memory.kagura-ai.com/api/v1/auth/github/login`
- Auth: none declared

Initiate GitHub OAuth2 login flow.

``invite`` is an optional closed-beta invite token (#1581) and
``accepted_terms`` the terms version agreed to (#1665) — see
``google_login``; both providers share ``_remember_beta_invite`` and
``_remember_accepted_terms``.

## Query parameters

- `return_to` string, nullable
- `add_account` boolean
- `invite` string, nullable
- `accepted_terms` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud.md) · [All operations](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/revisions/aa9df1a21db9?raw)
