Skip to content

Unable to use Manually Configured OAuth with Git Credentials Manager #26526

Closed
@Sapein

Description

@Sapein

Description

Whenever using generic oauth authentication with Gitea, git-credentials-manager can not actually use gitea's oauth implementation. This occurs because the git-credentials-manager appends a trailing backslash onto the URI causing gitea to give an unauthorized_client: unexpected redirect URI error. This completely stops me from being able to use GCM with Gitea with how I have it setup atm.

Ideally, gitea should not care about trailing backslashes.

Gitea Version

1.20.2

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Gitea provided windows release of 1.20.2 and on https://try.gitea.io

Database

None

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions