Add support for reverse proxy header authentication with email alone #19948
Labels
type/feature
Completely new functionality. Can only be merged if feature freeze is not active.
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
Milestone
Feature Description
Hi!
I saw it's possible to authenticate using a reverse proxy by sending an
X-Webauth-User
header. Optionally (if enabled in settings), if theX-Webauth-Email
header is provided a user is also auto-registered.For my internal setup at home, my reverse proxy does not have access to gitea usernames, but the sign in system has access to emails. Would it be possible to extend the code to allow authenticating just via the contents of
X-Webauth-Email
?I'm happy to try and put up a PR myself if there are no objections to this feature.
Screenshots
No response
The text was updated successfully, but these errors were encountered: