git-ecosystem / git-credential-manager

Secure, cross-platform Git credential storage with authentication to GitHub, Azure Repos, and other popular Git hosting services.
Other
6.74k stars 1.76k forks source link

Clicking cancel on application authorize shows successful page instead of something else #1553

Open diamante0018 opened 6 months ago

diamante0018 commented 6 months ago

Version

2.4.1

Operating system

Windows

OS version or distribution

Windows 10 Pro 19045

Git hosting provider(s)

Other - please describe below

Other hosting provider

Gitea

(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

Tested on try.gitea.io

To reproduce I created an empty repository. I attempted to push using HTTPS with git for Windows version 2.43.0.windows.1 When the application opens a new tab on my browser I have the option to either authorize or cancel the "Git Credentials Manager" When I click "cancel" a page opens some sort of page that confirms the operation was cancelled.

Actual behavior

A successful page saying the application was authorized is shown even when I click cancel in the scenario explained above.

313815019-7275307c-fffe-451d-bc76-a6cbfb9d902d 313814993-49993847-2b00-4894-9009-70a1eddaaaa0

Logs

No response

diamante0018 commented 3 months ago

Please note to whoever may suggest this is a gitea issue I consulted with gitea and this was their reply https://github.com/go-gitea/gitea/issues/29891#issuecomment-2005661177