Setting up an OAuth with GitHub

You can create and register an OAuth App under your personal account or under any organization you have administrative access to. While creating your OAuth app, remember to protect your privacy by only using information you consider public.

Note: A user or organization can own up to 100 OAuth apps.

  • In the upper-right corner of any page, click your profile photo, then click Settings.

  • In the left sidebar, click Developer settings.

  • In the left sidebar, click OAuth Apps.

  • Click New OAuth App.

Note: If you haven't created an app before, this button will say, Register a new application.

  • In "Application name", type the name of your app.

Warning: Only use information in your OAuth app that you consider public. Avoid using sensitive data, such as internal URLs, when creating an OAuth App.

  • In "Homepage URL", type the full URL to your app's website.

  • Optionally, in "Application description", type a description of your app that users will see.

  • In "Authorization callback URL", type the callback URL of your app.

Note: OAuth Apps cannot have multiple callback URLs, unlike GitHub Apps.

  • If your OAuth App will use the device flow to identify and authorize users, click Enable Device Flow. For more information about the device flow, see "Authorizing OAuth Apps."

  • Click Register application.

All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.