opensource-management-portal icon indicating copy to clipboard operation
opensource-management-portal copied to clipboard

No organization when using modern Github App

Open ElenaForester opened this issue 3 years ago • 4 comments

Hi there,

Not sure if it's a bug or I'm doing something wrong.

I've done following configurations:

  • Created Github App (currently single for all UI, background jobs, data, and operations) with all required permissions stated in configurations and created a private key.
  • Installed App in my Github org
  • Set up all environment variables (GITHUB_APP_DATA_APP_ID, GITHUB_APP_DATA_KEY etc). (I'm installing the oss app using helm chart)

When I open the app in browser I can login with Azure, login to Github and link my accounts. But there is no organization available for joining.

When I use org.json file I see my organization but I would like to use modern Github App.

What I'm doing wrong? Could you help me please?

ElenaForester avatar Jul 21 '21 06:07 ElenaForester

This could be a bug for sure... at least on our side, we're using the "dynamic" (database-driven) settings to identify orgs and settings instead of the JSON.

Let me see if I can get a very basic runtime environment setup to try and debug this...

jeffwilcox avatar Jul 21 '21 06:07 jeffwilcox

Whoa, thanks for a quick response!

Could you also please clarify what is the webhook endpoint in app? Is it /webhook?

ElenaForester avatar Jul 21 '21 06:07 ElenaForester

For the webhooks from GitHub (e.g. to update members) it is /api/webhook. The full URL would then look like this: https://portal.opensource.enterprise.com/api/webhook

Shegox avatar Jul 21 '21 06:07 Shegox

This issue has been identified as stale because it has gone 30 days with no activity. The issue will be closed in 10 days. If this is incorrect, simply comment on the issue, or remove the stale label.

github-actions[bot] avatar Oct 11 '22 17:10 github-actions[bot]