Skip to content

gcli authorize gives error after entering password #34

@gijzelaerr

Description

@gijzelaerr
$ gcli authorize
login: gijzelaerr
password:
Fatal error has occurred. You can only access your own tokens via Basic AuthenticationArgumentError: You can only access your own tokens via Basic Authentication
/usr/local/lib/ruby/gems/2.4.0/gems/github_api-0.17.0/lib/github_api/client/authorizations.rb:136:in `raise_authentication_error'
/usr/local/lib/ruby/gems/2.4.0/gems/github_api-0.17.0/lib/github_api/client/authorizations.rb:76:in `create'
/usr/local/lib/ruby/gems/2.4.0/gems/github_api-0.17.0/lib/github_api/api.rb:237:in `block in execute'
/usr/local/lib/ruby/gems/2.4.0/gems/github_api-0.17.0/lib/github_api/api.rb:224:in `run_callbacks'
/usr/local/lib/ruby/gems/2.4.0/gems/github_api-0.17.0/lib/github_api/api.rb:236:in `execute'
/usr/local/lib/ruby/gems/2.4.0/gems/github_api-0.17.0/lib/github_api/api.rb:196:in `block in method_added'
/usr/local/lib/ruby/gems/2.4.0/gems/github_cli-0.6.2/lib/github_cli/apis/authorization.rb:22:in `block in create'
/usr/local/lib/ruby/gems/2.4.0/gems/github_cli-0.6.2/lib/github_cli/api.rb:64:in `block in output'
/usr/local/lib/ruby/gems/2.4.0/gems/github_cli-0.6.2/lib/github_cli/dsl.rb:19:in `on_error'
/usr/local/lib/ruby/gems/2.4.0/gems/github_cli-0.6.2/lib/github_cli/api.rb:63:in `output'
/usr/local/lib/ruby/gems/2.4.0/gems/github_cli-0.6.2/lib/github_cli/apis/authorization.rb:21:in `create'
/usr/local/lib/ruby/gems/2.4.0/gems/github_cli-0.6.2/lib/github_cli/commands/authorizations.rb:54:in `create'
/usr/local/lib/ruby/gems/2.4.0/gems/github_cli-0.6.2/lib/github_cli/vendor/thor/command.rb:27:in `run'
/usr/local/lib/ruby/gems/2.4.0/gems/github_cli-0.6.2/lib/github_cli/vendor/thor/invocation.rb:120:in `invoke_command'
/usr/local/lib/ruby/gems/2.4.0/gems/github_cli-0.6.2/lib/github_cli/vendor/thor.rb:363:in `dispatch'
/usr/local/lib/ruby/gems/2.4.0/gems/github_cli-0.6.2/lib/github_cli/vendor/thor/invocation.rb:109:in `invoke'
/usr/local/lib/ruby/gems/2.4.0/gems/github_cli-0.6.2/lib/github_cli/cli.rb:108:in `authorize'
/usr/local/lib/ruby/gems/2.4.0/gems/github_cli-0.6.2/lib/github_cli/vendor/thor/command.rb:27:in `run'
/usr/local/lib/ruby/gems/2.4.0/gems/github_cli-0.6.2/lib/github_cli/vendor/thor/invocation.rb:120:in `invoke_command'
/usr/local/lib/ruby/gems/2.4.0/gems/github_cli-0.6.2/lib/github_cli/vendor/thor.rb:363:in `dispatch'
/usr/local/lib/ruby/gems/2.4.0/gems/github_cli-0.6.2/lib/github_cli/vendor/thor/base.rb:438:in `start'
/usr/local/lib/ruby/gems/2.4.0/gems/github_cli-0.6.2/bin/gcli:9:in `block in <top (required)>'
/usr/local/lib/ruby/gems/2.4.0/gems/github_cli-0.6.2/lib/github_cli/dsl.rb:19:in `on_error'
/usr/local/lib/ruby/gems/2.4.0/gems/github_cli-0.6.2/bin/gcli:9:in `<top (required)>'
/usr/local/bin/gcli:22:in `load'
/usr/local/bin/gcli:22:in `<main>'%                                                                                                                                                                                                           

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions