oauth2-proxy/pkg
Joel Speed 285c65a2d4
Add tests for cookie validation
This also removes the check for the decoded from the valid secret size
check. The code was unreachable because encryption.SecretBytes will only
return the decoded secret if it was the right length after decoding.
2020-07-05 09:17:28 +01:00
..
apis Create Cookie FlagSet and Defaults 2020-07-05 09:17:28 +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 Count complete cookie content in byte splitting 2020-07-03 23:41:08 -07:00
util Fix #635: Support specifying alternative provider TLS trust source(s) (#645) 2020-07-03 16:09:17 +01:00
validation Add tests for cookie validation 2020-07-05 09:17:28 +01:00