-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Add reverseproxy auth for API back with default disabled #26703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
cc: @pboguslawski as this is likely relevant to your interests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. But I would like the author and reviewers of #22219 (@zeripath @jolheiser @delvh) to take a look.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't love it, but I'll concede that some users relied on it and there may not be an ideal alternative yet.
I think we can continue since @zeripath has no response for 3 days. |
* giteaofficial/main: Add `yamllint` (go-gitea#26965) Fix yaml quoting (go-gitea#26964) [skip ci] Updated translations via Crowdin Add `actions/labeler` (go-gitea#26962) Team invite url fix when registration disabled (go-gitea#26950) Refactor dashboard/feed.tmpl (go-gitea#26956) Improve hint when uploading a too large avatar (go-gitea#26935) Replace `util.SliceXxx` with `slices.Xxx` (go-gitea#26958) Add reverseproxy auth for API back with default disabled (go-gitea#26703) Add "dir=auto" for input/textarea elements by default (go-gitea#26735)
This feature was removed by #22219 to avoid possible CSRF attack.
This PR takes reverseproxy auth for API back but with default disabled.
To prevent possbile CSRF attack, the responsibility will be the reverseproxy but not Gitea itself.
For those want to enable this
ENABLE_REVERSE_PROXY_AUTHENTICATION_API
, they should know what they are doing.