---
title: "Github Consent Start"
method: GET
path: "/api/v1/auth/sso/pending/github"
tags: ["sso"]
---

# Github Consent Start

`GET /api/v1/auth/sso/pending/github`

## Request

- Base URL: `https://api.badgeia.com`
- URL: `https://api.badgeia.com/api/v1/auth/sso/pending/github`
- Auth: none declared

Consent by signing in with GitHub: a GitHub OAuth round bound to this link.

The GitHub state marker carries ``sha256(pending cookie)``, and the GitHub
state cookie binds the round to this browser, so the callback can finish
only the link this browser was shown.

## Query parameters

- `csrf` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/badgeia/apis/badge.md) · [All operations](https://skmtc.dev/badgeia/apis/badge/llms.txt) · [OpenAPI document](https://skmtc.dev/badgeia/apis/badge/revisions/7e7f7fee8b77?raw)
