oauth2-proxy/pkg
Joel Speed 1c1106721e
Move RedirectToHTTPS to middleware package
Moves the logic for redirecting to HTTPs to a middleware package and adds tests for this logic.
Also makes the functionality more useful, previously it always redirected to the HTTPS address of the proxy, which may not have been intended, now it will redirect based on if a port is provided in the URL (assume public facing 80 to 443 or 4180 to 8443 for example)
2020-07-03 17:19:09 +01:00
..
apis Fix #635: Support specifying alternative provider TLS trust source(s) (#645) 2020-07-03 16:09:17 +01:00
cookies Rename Cookie Options to remove extra 'Cookie' 2020-04-29 19:51:24 +01:00
encryption Move Encrypt/Decrypt Into helper to session_state.go 2020-06-12 14:46:35 -07:00
ip Move RealClientIP code to IP packages 2020-05-23 15:17:41 +01:00
logger Implements --real-client-ip-header option. (#503) 2020-05-12 18:41:25 +01:00
middleware Move RedirectToHTTPS to middleware package 2020-07-03 17:19:09 +01:00
requests Support context in providers (#519) 2020-05-10 13:34:59 +01:00
sessions Close client connections after each redis test 2020-07-03 16:24:47 +01:00
util Fix #635: Support specifying alternative provider TLS trust source(s) (#645) 2020-07-03 16:09:17 +01:00
validation Fix #635: Support specifying alternative provider TLS trust source(s) (#645) 2020-07-03 16:09:17 +01:00