Universal Gitea OAuth configuration uses wrong endpoints if gitea uses a subfolder #1650
Labels
auth:oauth
Specific to OAuth2 authentication
auth-issue
An issue authenticating to a host
bug
A bug in Git Credential Manager
Version
2.5.0+d34930736e131ad80e5690e5634ced1808aff3e2
Operating system
Windows
OS version or distribution
Windows 11 23h2
Git hosting provider(s)
Other - please describe below
Other hosting provider
Gitea selfhosted instance
(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
Gitea is hosted on https://example.com/git/
Trying to clone a Repository (e.g.
git clone https//examle.com/git/test/test.git
) should send the user to https://example.com/git/login/oauth/authorize and get the token from https://example.com/git/login/oauth/access_tokenActual behavior
The authorization endpoint used is https://example.com/login/oauth/authorize and get the token from https://example.com/login/oauth/access_token (notice the missing /git/ directory in the url)
Logs
The text was updated successfully, but these errors were encountered: