Skip to content

GitHub bridge: error creating token 404 #581

Closed

Description

@pawamoy

I'll paste the output here:

% git bug bridge configure
Building identity cache... Done.
Building bug cache... Done.
[1]: github
[2]: gitlab
[3]: jira
[4]: launchpad-preview
target: 1
name [default]: github

Detected projects:
[1]: github.com/pawamoy/aria2p

[0]: Another project

Select option: 1
Github login: pawamoy

[1]: enter my token
[2]: interactive token creation

Select option: 2

git-bug will now generate an access token in your Github profile. Your credential are not stored and are only used to generate the token. The token is stored in the global git config.

The access scope depend on the type of repository.
Public:
  - 'public_repo': to be able to read public repositories
Private:
  - 'repo'       : to be able to read private repositories

[1]: public
[2]: private
repository visibility: 1

Password: 
Error: error creating token 404: {"message":"Not Found","documentation_url":"https://docs.github.com/rest"}

I had to create the token manually and give the arguments on the command line:

% git bug bridge configure --name=github --target=github --url=https://github.com/pawamoy/aria2p --login=pawamoy --token=secret
Identity 65cc6c7 created, set as current
Successfully configured bridge: github

git-bug version, installed from AUR:

% git bug version
git-bug version: 0.7.1

Activity

  1. MichaelMure commented on Feb 28, 2021

    @MichaelMure
    Contributor

    Most likely github finally retired their token creation API. #496 fix that by using the new API. This is in the master branch but unfortunately not in a released version :-|

  2. MichaelMure commented on Feb 28, 2021

    @MichaelMure
    Contributor

    Closing but please reopen if it still fail with master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions