先决条件
- WEB_DOMAIN:您的前端 URL(例如
https://app.yourdomain.com或http://localhost:3000)
步骤 1:创建 OAuth App
- 在 GitHub 上,转到 Settings > Developer Settings > OAuth Apps
- 点击 New OAuth App
- 填写基本信息(Application name、Homepage URL)
创建为 Kodus 用户启用 “Sign in with GitHub” 的 GitHub OAuth App — 与用于代码审查的 GitHub App 相互独立。
https://app.yourdomain.com 或 http://localhost:3000)