git-ecosystem / git-ecosystem/git-credential-manager

Gitlab Self-Hosted git client OAuth The string binding is invalid

Open
#1,895 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auth-issue
Dominant language
C#
Stars
9.3k
Forks
2.9k
Avg merge
7d 1h
Merged PRs (30d)
14

Description

Version

2.5.1+90d5f897f164a8fe07d2aa3bf7db439b0b4e03ea

Operating system

Windows

OS version or distribution

Windows 11

Git hosting provider(s)

GitLab

Other hosting provider

No response

(Azure DevOps only) What format is your remote URL?

None

Can you access the remote repository directly in the browser?

Yes, I can access the repository

Expected behavior

There is a Gitlab self-hosted server.

The client uses Git on the command line on Windows.

We clone the repository.

OAuth is used for authentication.

Browser opens.

We approve request.

Cloning works

Actual behavior

It works, but after approving in the browser we receive an error "The string binding is invalid".

However, cloning continues normally.

Can we get rid of the error message as it does not seem to be an error behind?

Logs

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the GitLab self-hosted OAuth clone flow on Windows 11 with Git Credential Manager 2.5.1. The payload names no source files or tests, so trace the OAuth completion path and compare the reported binding error with the successful clone; done means the misleading error no longer appears while authentication still succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, git, gitlab
Domain
authentication, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.