This version of GitHub Enterprise was discontinued on 2023-03-15. 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.
Building OAuth Apps
You can build OAuth Apps for yourself or others to use. Learn how to register and set up permissions and authorization options for OAuth Apps.
Differences between GitHub Apps and OAuth Apps
In general, GitHub Apps are preferred to OAuth Apps because they use fine-grained permissions, give more control over which repositories the app can access, and use short-lived tokens.
Rate limits for OAuth Apps
Rate limits restrict the rate of traffic to your GitHub Enterprise Server instance, to help ensure consistent access for all users.
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.
Authenticating to the REST API with an OAuth App
Learn about the different ways to authenticate with some examples.
Authorizing OAuth Apps
You can enable other users to authorize your OAuth App.
Scopes for OAuth Apps
Scopes let you specify exactly what type of access you need. Scopes limit access for OAuth tokens. They do not grant any additional permission beyond that which the user already has.
Creating a custom badge for your OAuth App
You can replace the default badge on your OAuth App by uploading your own logo image and customizing the background.