diff options
| author | Clément Michaud <clement.michaud34@gmail.com> | 2020-02-06 03:24:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-06 13:24:25 +1100 |
| commit | a63d55201f7f1d62695938a7cb4aa3c4f5dbda7c (patch) | |
| tree | 6b08d249bd23849601f0ae32a8cbaf044bc764b6 /internal/handlers/const.go | |
| parent | c1aecf0afc042c61f10bc0ca3c9b1dbba91469de (diff) | |
[MISC] Improve documentation around headers used by verify endpoint. (#620)
* Explicit document missing X-Forwarded-Proto and X-Fowarded-Host headers.
* Add the name of the authorization header in error messages.
* Add error and debug logs about X-Original-URL header.
* Add error log when not able to parse target URL in verify endpoint.
* Fix unit tests.
Diffstat (limited to 'internal/handlers/const.go')
| -rw-r--r-- | internal/handlers/const.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/handlers/const.go b/internal/handlers/const.go index 844f56ad0..5d57ff1db 100644 --- a/internal/handlers/const.go +++ b/internal/handlers/const.go @@ -11,7 +11,7 @@ const ResetPasswordAction = "ResetPassword" const authPrefix = "Basic " -const authorizationHeader = "Proxy-Authorization" +const AuthorizationHeader = "Proxy-Authorization" const remoteUserHeader = "Remote-User" const remoteGroupsHeader = "Remote-Groups" |
