Reputation: 2385
I'm setting up a GitHub App for ArgoCD authentication. The GitHub App setup is completed. But in ArgoCD it asks for GitHub App ID and GitHub App Installation ID. I could find the App ID from the GitHub App section itself. But I couldn't find the GitHub App Installation ID.
Is there a way to directly find GitHub App Installation ID from the GitHub website settings section? Or do we need to use GitHub API or something?
Upvotes: 18
Views: 24229
Reputation: 2385
I'm making this answer a little more explanatory.
For GitHub Apps created under Organizations:
The URL looks like this:
https://github.com/organizations/<Organization-name>/settings/installations/<ID>
Pick the <ID> part and that's your GitHub App Installation ID.
For GitHub Apps created under Repository, you can find this under repository settings.
Upvotes: 32
Reputation: 278
The
InstallationID
is the same ID that you can find in the GitHub endpoint:
https://github.com/settings/installations/<ID>
Upvotes: 12