Skip to content
Discussion options

You must be logged in to vote

The installation ID itself is generally treated as a non-secret identifier. It’s mainly a reference that tells the API which installation you are requesting a token for. By itself it cannot be used to authenticate or perform actions.

The important security boundary in the GitHub App flow is the private key used to sign the JWT. When requesting an installation access token, GitHub verifies that the request is signed with the app’s private key. Without that key, the installation ID alone cannot produce a valid token.

Because of that, most implementations store the installation ID as a normal database field (similar to org ID or repo ID). The things that should be treated as sensitive are:

t…

Replies: 6 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Aakash4792
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies

This comment was marked as off-topic.

This comment was marked as off-topic.

@Hamiraniansh

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Apps API and Webhooks Discussions related to GitHub's APIs or Webhooks Question Ask and answer questions about GitHub features and usage
7 participants