Only token based authentication allowed for git operations and disallow username/password #10256

Open
opened 2025-11-02 09:02:22 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @bilogic on GitHub (Feb 12, 2023).

Feature Description

This can improve security as username/passwords can't and won't be used in any automation.

This can open the way for more features that greatly enhance management, e.g. token permissions, auto expiry etc

I think related in some way to https://github.com/go-gitea/gitea/issues/22709

Screenshots

No response

Originally created by @bilogic on GitHub (Feb 12, 2023). ### Feature Description This can improve security as username/passwords can't and won't be used in any automation. This can open the way for more features that greatly enhance management, e.g. token permissions, auto expiry etc I think related in some way to https://github.com/go-gitea/gitea/issues/22709 ### Screenshots _No response_
GiteaMirror added the type/proposaltype/feature labels 2025-11-02 09:02:22 -06:00
Author
Owner

@dsjoho commented on GitHub (Aug 24, 2023):

I would want this! I'd e.g. like to have a setup only authorized using LDAP - but I don't want those credentials used to a http(s) git remote. Only way atm is to disable HTTP(S) as way of transfer in gitea, but that also disables doing a http(s) git clone of a public repository where no credentials are required - something I would still like to allow.

@dsjoho commented on GitHub (Aug 24, 2023): I would want this! I'd e.g. like to have a setup only authorized using LDAP - but I don't want those credentials used to a http(s) git remote. Only way atm is to disable HTTP(S) as way of transfer in gitea, but that also disables doing a http(s) git clone of a public repository where no credentials are required - something I would still like to allow.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10256