setup wizard github connection doesn't work if already authenticated

Abierto
#1,630 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

@Bhoomidhanu12 ya está trabajando en esto.

Desde el 13/7/2026.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
57/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github, node.js, typescript

Línea de trabajo

Start with the self-driving CLI flow invoked by npx -y @posthog/wizard@latest self-driving --region eu, then trace how it checks and reconnects the GitHub account when setting up a second PostHog project. Reproduce the steps in the issue with an account that already has the GitHub connection. Done when the existing connection is recognized and the wizard can continue without uninstalling and reconnecting.

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

Descripción

bug
Bug Description

I have already connected posthog to github previously for a different posthog project, but when trying to run the setup wizard, it requires me to authenticate again. If I try to say I've already connected, it says I haven't. On github, it says it's already connected. The only way for me to resolve this is by uninstalling on github, and then reconnecting.

npx -y @posthog/wizard@latest self-driving --region eu

How to reproduce

  1. Create a Posthog project
  2. Run npx -y @posthog/wizard@latest self-driving --region eu
  3. Connect with Github
  4. Create a new Posthog project
  5. Run npx -y @posthog/wizard@latest self-driving --region eu again
  6. Try to connect with Github
Debug info
No bug report - this is a cli issue
Lenguaje dominante
TypeScript
Estrellas
208
Forks
58
Merge medio
2 d 7 h
PR fusionados (30 d)
76

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

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 PostHog/wizard

Todos los issues de PostHog/wizard

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.