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

Abierto
#341 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github, javascript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
JavaScript
Estrellas
1
Forks
2
Merge medio
1 d 19 h
PR fusionados (30 d)
62

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de StatsLateral/teamctx

Todos los issues de StatsLateral/teamctx

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.