---
title: "GitHub OAuth callback for backend-mediated flow"
method: GET
path: "/v1/customer/auth/github/callback"
tags: ["Customer Auth"]
---

# GitHub OAuth callback for backend-mediated flow

`GET /v1/customer/auth/github/callback`

## Query parameters

- `code` string, required
- `state` string, required
- `error` string
- `error_description` string, required

## Other responses

- `302` — Redirects to client with auth code
- `400` — Missing code/state, invalid state, or OAuth error from GitHub
- `401` — Failed to exchange code with GitHub

## Changes

- **2026-04-09** `7b327a22e3cb` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/solvapay/apis/solvapay-rest-api/changes/v1/customer/auth/github/callback/get.md)

---

[API](https://skmtc.dev/solvapay/apis/solvapay-rest-api.md) · [All operations](https://skmtc.dev/solvapay/apis/solvapay-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/solvapay/solvapay-rest-api/revisions/7b327a22e3cb/schema)
