cli / oauth

A library for performing OAuth Device flow and Web application flow in Go client apps.
https://pkg.go.dev/github.com/cli/oauth
MIT License
460 stars 63 forks source link

Handle case when Device Flow is disabled for the OAuth app #48

Closed mislav closed 1 year ago

mislav commented 1 year ago

In that case, raise ErrUnsupported to ensure fallback to Web Application Flow.