Setting up Github App

We need to enable login via github, for that, we will create a github app. To do that,

  1. Name your app in context of momentum (suggestion) , can be anything - for example momentum-auth.

  2. We need to give the app following permissions: (a) Repository permissions - Contents (Read Only), Metadata (Read Only), Pull Requests (Read and write), Secrets (Read Only), Webhook (Read only) (b) Organisation permissions - None (c) Account permissions - Email Address (Read Only)

  3. Generate a private key of your github app, once downloaded and add it to launch.json in GITHUB_PRIVATE_KEY, add your app id to GITHUB_APP_ID sections.

  4. Now from the left sidebar , select install app, and install it next to your org/ user account.

Last updated