Code Monkey home page Code Monkey logo

kept's Introduction

Hi there ๐Ÿ‘‹

I'm Xander, and I work on open source at Defense Unicorns.

  • ๐Ÿ˜„ Pronouns: he/him/his
  • ๐Ÿ“ซ How to reach me: @Xander on Kubernetes Slack

kept's People

Contributors

npolshakova avatar salaxander avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kept's Issues

Oauth request returns device_flow_disabled error, login doesn't work.

What's happening

Using kept login doesn't open a browser window, and it stays there waiting for input:

$ kept login
You will find an auth code displayed below. A GitHub auth window will open in your browser
			for you to enter the code. Once you've entered the code, return to the terminal!

*  Waiting for authorization from GitHub...

What was expected

After kept login, a browser window would open to continue the process.

Troubleshooting

The problem seems to be from the response at auth.Login(). Some debugging shows that it's:

{"error":"device_flow_disabled","error_description":"Device Flow must be explicitly enabled for this App","error_uri":"https://docs.github.com"}

... so err == nil, which returns nil to the browser call (and not an URL). This, in turn, could be related to this ("...The resolution is to enable a checkbox for the registered GitHub app under general settings..."

Environment

$ lsb_release  -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 12 (bookworm)
Release:	12
Codename:	bookworm
$ go version
go version go1.19.6 linux/amd64
~/src/kept$ git log -1
commit dce813d34353689b663efad3ff69302262a8e060 (HEAD -> main, origin/main, origin/HEAD)
Merge: 5448356 84337b5
Author: Xander Grzywinski <[email protected]>
Date:   Wed Sep 1 10:18:59 2021 -0700

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.