Back to Desktop

Authenticating GitHub Enterprise from a Desktop-dev Build

docs/contributing/github-enterprise-auth-from-dev-build.md

latest847 B
Original Source

Authenticating GitHub Enterprise from a Desktop-dev Build

  1. Find or create an organization on the GHE instance that you are an owner of

  2. Create a new OAuth app in the organization. Input x-github-client://oauth as the authorization callback URL:

  3. Insert the Client ID and Client Secret into the app-info.ts file

  4. Build and run the Desktop-dev app

  5. Go to "Preferences", click the "Accounts" tab, and sign into GitHub Enterprise. Click "Continue With Browser" to proceed with the OAuth flow