oauth2-proxy/pkg/apis/options
Nick Meves 7eeaea0b3f
Support nonce checks in OIDC Provider (#967)
* Set and verify a nonce with OIDC

* Create a CSRF object to manage nonces & cookies

* Add missing generic cookie unit tests

* Add config flag to control OIDC SkipNonce

* Send hashed nonces in authentication requests

* Encrypt the CSRF cookie

* Add clarity to naming & add more helper methods

* Make CSRF an interface and keep underlying nonces private

* Add ReverseProxy scope to cookie tests

* Align to new 1.16 SameSite cookie default

* Perform SecretBytes conversion on CSRF cookie crypto

* Make state encoding signatures consistent

* Mock time in CSRF struct via Clock

* Improve InsecureSkipNonce docstring
2021-04-21 10:33:27 +01:00
..
util Ensure errors in tests are logged to the GinkgoWriter 2021-02-10 19:50:04 +00:00
alpha_options.go Multiple providers in alpha config (#947) 2021-04-03 17:06:30 +01:00
app.go Add option for custom logos on the sign in page 2021-02-19 13:23:55 +00:00
common.go Generate reference page in configuration 2021-01-18 09:57:44 +00:00
common_test.go Introduce Duration so that marshalling works for duration strings 2020-11-19 10:35:29 +00:00
cookie.go Rename CookieOptions to Cookie 2020-07-05 09:18:21 +01:00
doc.go Generate reference page in configuration 2021-01-18 09:57:44 +00:00
header.go Add AlphaOptions struct and ensure that all children have valid JSON tags 2020-11-19 10:35:31 +00:00
legacy_options.go Support nonce checks in OIDC Provider (#967) 2021-04-21 10:33:27 +01:00
legacy_options_test.go Support nonce checks in OIDC Provider (#967) 2021-04-21 10:33:27 +01:00
load.go Introduce alpha configuration loading 2020-12-01 08:56:49 +00:00
load_test.go Support nonce checks in OIDC Provider (#967) 2021-04-21 10:33:27 +01:00
logging.go Request ID Logging (#1087) 2021-03-21 18:20:57 +00:00
options.go Multiple providers in alpha config (#947) 2021-04-03 17:06:30 +01:00
options_suite_test.go Ensure errors in tests are logged to the GinkgoWriter 2021-02-10 19:50:04 +00:00
providers.go Support nonce checks in OIDC Provider (#967) 2021-04-21 10:33:27 +01:00
server.go Create server options struct and move legacy server options to legacyOptions 2021-03-07 11:49:08 +00:00
sessions.go Support Password & SentinelPassword in Redis session store 2020-08-11 12:22:05 -07:00
upstreams.go Add DefaultUpstreamFlushInterval to replace magic time.Second value 2020-11-19 10:39:21 +00:00