Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow Token API calls be authorized using the reverse-proxy header (g…
…o-gitea#15119) * API calls authorized with HTTP header This mod allows API calls to be authorized with HTTP header when ENABLE_REVERSE_PROXY_AUTHENTICATION is enabled. Without it user authenticated by reverse proxy is able to access gitea UI but not API which is inconsistent. Author-Change-Id: IB#1107572 * Fixed API calls authorized with HTTP header Only reqBasicAuth is modified to allow reverse proxy auth as alternative and reqToken is left untouched. Fixes: dc952c0 Author-Change-Id: IB#1107572 * Reverse proxy API auth separated in docs Related: go-gitea#15119 (comment) Author-Change-Id: IB#1107572 * Reverse proxy API auth separated in docs Related: go-gitea#15119 (comment) Author-Change-Id: IB#1107572 * Reverse proxy API auth separated Related: go-gitea#15119 (comment) Author-Change-Id: IB#1107572 * ReverseProxyAuth removed from swagger ReverseProxyAuth removed from swagger as in upstream's suggestion. Related: go-gitea#15119 (review) Author-Change-Id: IB#1107572 * ReverseProxyAuth API authorization fixed Related: go-gitea#15119 (comment) Author-Change-Id: IB#1107572 * ReverseProxyAuth API authorization fixed Related: go-gitea#15119 (comment) Author-Change-Id: IB#1107572
- Loading branch information