Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apps: Device Authorization Flow for OAuth #130

Closed
github-product-roadmap opened this issue Oct 7, 2020 · 1 comment
Closed

Apps: Device Authorization Flow for OAuth #130

github-product-roadmap opened this issue Oct 7, 2020 · 1 comment
Labels
all cloud ecosystem ga shipped

Comments

@github-product-roadmap
Copy link
Collaborator

github-product-roadmap commented Oct 7, 2020

Summary
OAuth Apps and GitHub Apps now support OAuth 2.0 Device Authorization Grant flows, in addition to the existing Web Application Flow.

Intended Outcome
Certain environments do not have a supported web browser or are headless with no user interface. Adding this authorization flow support allows these applications to make authorized calls to the GitHub API.

How will it work?
In the case of a developer tool like a CLI, the tool asks the user to navigate to https://github.com/login/device on a computer with a desktop browser and enter a code like ABCD-EFGH. In the background, the CLI tool polls GitHub every few seconds to see if it has been granted a token or been given an error. After this procedure is complete and the OAuth user grant flow is authorized, the CLI tool receives a token.

Screen Shot 2020-06-08 at 10 42 09 AM

@github github locked and limited conversation to collaborators Oct 7, 2020
@github-product-roadmap github-product-roadmap added this to Q4 2020 – Oct-Dec in GitHub public roadmap Oct 7, 2020
@github-product-roadmap github-product-roadmap added all cloud ecosystem ga labels Oct 7, 2020
@alexcnichols alexcnichols added the shipped label Dec 10, 2020
@alexcnichols
Copy link
Member

alexcnichols commented Dec 10, 2020

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
all cloud ecosystem ga shipped
Projects
Status: No status
Development

No branches or pull requests

2 participants