Closed
Description
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 the X-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