This version of GitHub Enterprise will be discontinued on 2021-02-11. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Creating an OAuth App

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.

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

    Settings icon in the user bar

  2. In the left sidebar, click Developer settings.

    Developer settings section

  3. In the left sidebar, click OAuth Apps.

    OAuth Apps section

  4. Click New OAuth App.

    Button to create a new OAuth app

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

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

    Field for 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.

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

    Field for the homepage URL of your app

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

    Field for a description of your app

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

    Field for the authorization callback URL of your app

  9. Click Register application.

    Button to register an application

Did this doc help you?

Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.