Fix GitHub integration
Issues:
- In the app hosting wizard: Connecting a GitHub account that is not the owner of the GitHub repository and then removing it breaks the GitHub integration process and the App Hosting set up process.
- Being just a collaborator to a GitHub repo doesn't make it visible in the App Hosting Set Up wizard, you have to connect with the GitHub account of the owner of the repo.
Error messages:
- Connection verification failed: unable to verify the authorization token: GET https://api.github.com/user: 401 Bad credentials []: failed precondition.
- Error: Request to https://developerconnect.googleapis.com/v1/projects/PROJECT-ID/locations/europe-west4/connections/firebase-app-hosting-github-oauth:fetchGitHubInstallations had HTTP Error: 400, Failed to list GitHub installations
I described the issue in detail in this r/Firebase reddit post:
.
https://www.reddit.com/r/Firebase/comments/1i1k4ln/firebase_app_hosting_and_github_issue/
.
Improvement suggestions:
Don't make the GitHub integration step mandatory as I only wanted to manually deploy at that stage.
Let the user know he needs to be the owner and can't change the "bot-account" later.
Add the ability to remove the account and change to another.
Make it work not only with repos where you are the owner but also to repos where you are collaborator
Add the ability to "Factory reset" a firebase project.
Add the ability to reuse a project ID if it's been deleted already.
1
vote
Eduard Lache
shared this idea