Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Can't use GitHub App with multiple organizations #5364

Open
wkangg opened this issue Mar 17, 2025 · 0 comments
Open

[Bug]: Can't use GitHub App with multiple organizations #5364

wkangg opened this issue Mar 17, 2025 · 0 comments
Labels
🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization.

Comments

@wkangg
Copy link

wkangg commented Mar 17, 2025

Error Message and Logs

I'm trying to use a singular GitHub app for multiple GitHub organizations (or in this case, an org and my personal account) and it appears that Coolify only shows 1 installation in the dropdown to create a new resource.

I've fetched https://api.github.com/app/installations and https://api.github.com/installation/repositories, and confirmed that the app has access to all the repos under my personal account and the singular repo under the org.

A proposed solution would be to have a dropdown to select which installation/org to use under the create new resource page, above the repository dropdown.
Image

Examples from Heroku and Vercel

Image
Image

I've looked at the code, and it appears that a GitHub app is only intended to be used with one org, which doesn't make sense. The organization and installation ID appear to be configured per source in the sources page and are unable to be changed.
Image

Steps to Reproduce

  1. Create a new GitHub app
  2. Install the GitHub app on multiple organizations
  3. Try to create a new resource using the GitHub app from the first org the app was installed on

Coolify Version

v4.0.0-beta.397

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Oracle Linux Server 9.5

Additional Information

Discord Community Support Thread Discord Link

Image
Image
Image
Image
Image

@wkangg wkangg added 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization.
Projects
None yet
Development

No branches or pull requests

1 participant