momentum.sh
  • 💡Introduction to Momentum
    • Overview
    • How can momentum help you?
    • Why is it open source
    • Contributing to momentum
    • Troubleshooting & Feedback
  • Getting Started
    • Hers's what you will need
    • Installation
      • Cloud Integrations (Optional)
        • Portkey
        • Firebase
        • Setting up Github App
        • Enabling Github Auth on Firebase
        • Google Cloud
    • Running Momentum
    • Known bugs & fixes
  • Using Momentum
    • Underlying API structure
    • Auth
    • Logging in
    • User Registration
    • Parsing codebase
    • Getting list of all parsed projects
    • Getting list of all branches in a project
    • Listing all endpoints of a branch
    • Understanding Changes & Impacts
    • Generating Blast Radius
    • Get Flow Graph
    • Get Dependencies
    • Get More Dependencies (AI)
    • Getting code of a specific node
    • Testing your code
    • Generating a test plan
    • Setting up the test plan
    • Preferences
      • Setting preferences of a specific endpoint
      • Getting preferences for specific endpoint
    • Generating tests
  • Using Momentum CLI
Powered by GitBook
On this page

Was this helpful?

  1. Getting Started
  2. Installation
  3. Cloud Integrations (Optional)

Setting up Github App

PreviousFirebaseNextEnabling Github Auth on Firebase

Last updated 10 months ago

Was this helpful?

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

  1. Visit this url :

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

  3. 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)

  4. 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.

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

https://github.com/settings/apps/new