defunkt/gist

Please enable device flow

Forty-Bot opened this issue · 2 comments

As of last week, you must now enable device flow explicitly. Trying to log in currently results in the following error:

$ gist --login
Requesting login parameters...
/usr/bin/gist:1662:in `device_flow_login!': HTTP 400: {"error":"device_flow_disabled","error_description":"Device Flow must be explicitly enabled for this App","error_uri":"https://docs.github.com"} (RuntimeError)
	from /usr/bin/gist:1644:in `login!'
	from /usr/bin/gist:2002:in `block (2 levels) in <main>'
	from /usr/lib/ruby/3.0.0/optparse.rb:1618:in `block in parse_in_order'
	from /usr/lib/ruby/3.0.0/optparse.rb:1601:in `catch'
	from /usr/lib/ruby/3.0.0/optparse.rb:1601:in `parse_in_order'
	from /usr/lib/ruby/3.0.0/optparse.rb:1595:in `order!'
	from /usr/lib/ruby/3.0.0/optparse.rb:1701:in `permute!'
	from /usr/lib/ruby/3.0.0/optparse.rb:1726:in `parse!'
	from /usr/bin/gist:2085:in `<main>'

Done! Thanks for the heads up

Great, thanks.