---
title: "GitHub登录"
method: POST
path: "/share/v1/auth/github"
tags: ["ShareAuth"]
---

# GitHub登录

`POST /share/v1/auth/github`

GitHub登录

## Headers

- `X-KB-ID` string, required

## Request body

- V1AuthGitHubReq
  - `kb_id` string
  - `redirect_url` string

## Response `200`

OK

- object
  - `code` integer
  - `data` V1AuthGitHubResp
    - `url` string
  - `message` string
  - `success` boolean

---

[API](https://skmtc.dev/chaitin/apis/panda-wiki-api.md) · [All operations](https://skmtc.dev/chaitin/apis/panda-wiki-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chaitin/panda-wiki-api/revisions/c088839a56db/schema)
