OAuth 2.0 Device Authorization Flow

OAuth Apps and GitHub Apps now feature beta support for the OAuth 2.0 Device Authorization Grant, in addition to the existing Web Application Flow. This allows any CLI client or developer tool to authenticate using a secondary system with a browser.

This feature is in beta and can be opted into in the GitHub Apps settings under Beta Features or OAuth Apps settings under Advanced. Then the new authorize device endpoint will be accessible.

Read the full documentation on Authorizing OAuth Apps and Authorizing Users for GitHub Apps for more information.