---
title: "Callback for GitHub OAuth"
method: GET
path: "/login/callback"
tags: ["login"]
---

# Callback for GitHub OAuth

`GET /login/callback`

## Query parameters

- `code` string, required
- `state` string, required

## Response `200`

Redirect to GitHub OAuth

- object
  - `url` string, uri

## Changes

- **2025-01-25** `0f9d808dda1c` — 2 info
  - removed the non-success response with the status `302`
  - added the success response with the status `200`
- **2025-01-22** `d3210261c539` — 1 info
  - api operation id `callbackGitHubOAuth` was added
- **2025-01-21** `907ba469ec5e` — 1 info
  - endpoint added
- **2025-01-20** `93e312846ab3` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api/changes/login/callback/get.md)

---

[API](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api.md) · [All operations](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lapisla-prover/lapisla-prover-api/revisions/4ff151025f7c/schema)
