setup wizard github connection doesn't work if already authenticated

Aperta
#1,630 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@Bhoomidhanu12 ci sta già lavorando.

Dal 13/7/2026.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
57/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github, node.js, typescript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
TypeScript
Stelle
208
Fork
58
Merge medio
2g 7h
PR unite (30g)
76

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PostHog/wizard

Tutte le issue di PostHog/wizard

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.