Post-MVP: narrow GitHub sign-in to identity-only (drop the broad `repo` scope)

オープン
#341 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github, javascript

調査の方向性

Start with GITHUB_SCOPES in src/oauth/provider.js:33 and the GitHub App access design in docs/superpowers/specs/2026-11-17-github-app-access-design.md. Check whether @octokit/auth-app covers the remaining repository reads, writes, and creation before assessing the scope. Done means sign-in requests only read:user user:email while repository operations use the existing GitHub App.

索引モデルが issue の本文から書いたものです。

説明

enhancement parked

What

GitHub sign-in asks for repo read:user user:email (GITHUB_SCOPES in src/oauth/provider.js:33). On GitHub's consent screen, repo reads as "Repositories: Public and private", so every new user who signs in with GitHub sees a broad request.

#110 (GitHub App, #327) already moved the credential a manager lends onto a repository-scoped App. It deliberately left the sign-in scope alone, because signing in with GitHub still reaches the person's own repository and creating a repository still needs repo.

Proposal

Make sign-in identity-only (read:user user:email) and move repository reads, writes and creation onto the GitHub App, so the consent screen no longer asks for access to all repositories.

Why it is low priority

Not material to the MVP experiment. Google sign-in and the App-based lend path already cover the manager-trust story, and the consent screen only reaches what the signing-in account can already reach. Revisit if a manager or buyer objects to the screen.

Existing open source first

Nothing to build from scratch: GitHub Apps and user-to-server tokens (via the existing App) are the supported route, and the spec for #110 (docs/superpowers/specs/2026-11-17-github-app-access-design.md) already sketches the split. Check whether @octokit/auth-app covers the remaining pieces before hand-rolling any of it.

主要言語
JavaScript
スター
1
フォーク
2
平均マージ
1日 19時間
マージ済み PR(30日)
62

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

StatsLateral/teamctx のほかの issue

StatsLateral/teamctx の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。