Skip to content

Gitlab bridge PAT broken #772

Closed
Closed

Description

@gaelj

Using git-bug-git Arch linux package I have the following error trying to connect to a self hosted gitlab version 14.9 instance:

git bug bridge configure
Building identity cache... Done.
Building bug cache... Done.
[1]: github
[2]: gitlab
[3]: jira
[4]: launchpad-preview
target: 2
name [default]: 
Gitlab server URL [https://gitlab.com/]: https://gitlab.[xxxxxxxxxx]/

Detected projects:
[1]: https://gitlab.[xxxxxxxxxx]

[0]: Another project

Select option: 1
Gitlab login: [xxxxxxxxxx]
You can generate a new token by visiting https://gitlab.[xxxxxxxxxx]/-/profile/personal_access_tokens.
Choose 'Create personal access token' and set the necessary access scope for your repository.

'api' access scope: to be able to make api calls

Enter token: glpat-Cf7x-Fr_exxxxxxxxxxS
token has incorrect format

Note: if I enter the token without the glpat- prefix, the format seems to be accepted, but of course the request is then rejected by the gitlab server with a 401 error.

Activity

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