Self Driving setup wizards fails connecting to Github
Open
Nobody has claimed this yet.
bug
- Dominant language
- Python
- Stars
- 39.9k
- Forks
- 3.4k
- Avg merge
- 6h 51m
- Merged PRs (30d)
- 232
Description
Bug Description
How to reproduce
- Run the self-driving setup wizard in the repo of your choice
- Wait until it prompts you to login and connect Github
- Experience the error code:
{"type":"authentication_error","code":"permission_denied","detail":"You don't have access to the project.","attr":null}
Additional context
I want to set it up for repos in an organisation that I manage, and for repos within there
This is the link I am shown: https://eu.posthog.com/api/environments/252571/integrations/authorize?kind=github
Debug info
- [252571 ] PostHog Cloud, region and project ID: [please provide, you can find both at https://app.posthog.com/settings/project-details#variables]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the self-driving setup wizard through the login and GitHub connection step, then inspect the authorization flow at the provided PostHog integration URL. Trace the permission_denied response for the organization repository case; done means the wizard connects successfully to repositories in a managed organization.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100