[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#980977: ITP: golang-github-cli-oauth -- library for performing OAuth Device flow and Web application



Package: wnpp
Severity: wishlist
Owner: Joao Paulo Lima de Oliveira <jlima.oliveira11@gmail.com>
X-Debbugs-Cc: debian-devel@lists.debian.org, jlima.oliveira11@gmail.com

* Package name    : golang-github-cli-oauth
  Version         : 0.8.0-1
  Upstream Author : GitHub CLI
* URL             : https://github.com/cli/oauth
* License         : MIT
  Programming Lang: Go
  Description     : library for performing OAuth Device flow and Web application

 A library for Go client applications that need to perform OAuth authorization
 against a server, typically GitHub.com.
 Traditionally, OAuth for web applications involves redirecting to a URI after
 the user authorizes an app. While web apps (and some native client apps) can
 receive a browser redirect, client apps such as CLI applications do not have
 such an option.
 To accommodate client apps, this library implements the OAuth Device
 Authorization Grant which GitHub.com now supports. With Device flow, the user
 is presented with a one-time code that they will have to enter in a web browser
 while authorizing the app on the server. Device flow is suitable for cases
 where the web browser may be running on a separate device than the client
 app itself; for example a CLI application could run within a headless,
 containerized instance, but the user may complete authorization using a
 browser on their phone.


Reply to: