oauth2-proxy/pkg/validation
Segfault16 965fab422d
Add API route config (#1760)
* Add API route config

In addition to requests with Accept header `application/json` return 401 instead of 302 to login page on requests matching API paths regex.

* Update changelog

* Refactor

* Remove unnecessary comment

* Reorder checks

* Lint Api -> API

Co-authored-by: Sebastian Halder <sebastian.halder@boehringer-ingelheim.com>
2022-09-11 16:09:32 +01:00
..
allowlist.go Add API route config (#1760) 2022-09-11 16:09:32 +01:00
allowlist_test.go Add API route config (#1760) 2022-09-11 16:09:32 +01:00
common.go SecretSource.Value should be plain text in memory 2020-12-01 08:56:46 +00:00
common_test.go SecretSource.Value should be plain text in memory 2020-12-01 08:56:46 +00:00
cookie.go Fix import path for v7 (#800) 2020-09-29 17:44:42 +01:00
cookie_test.go Fix import path for v7 (#800) 2020-09-29 17:44:42 +01:00
header.go Add validation for Headers struct 2020-11-07 17:16:54 +00:00
header_test.go SecretSource.Value should be plain text in memory 2020-12-01 08:56:46 +00:00
logging.go Fix import path for v7 (#800) 2020-09-29 17:44:42 +01:00
options.go Add API route config (#1760) 2022-09-11 16:09:32 +01:00
options_test.go Remove provider configuration from validation package 2022-02-16 10:38:06 +00:00
providers.go Remove provider configuration from validation package 2022-02-16 10:38:06 +00:00
providers_test.go Multiple providers in alpha config (#947) 2021-04-03 17:06:30 +01:00
sessions.go PKCE Support (#1541) 2022-03-13 10:08:33 +00:00
sessions_test.go Integrate new header injectors with OAuth2 Proxy 2020-11-07 17:16:58 +00:00
upstreams.go rename Upstreams to UpstreamConfig and its Configs member to Upstreams then 2021-09-17 12:37:57 +00:00
upstreams_test.go rename Upstreams to UpstreamConfig and its Configs member to Upstreams then 2021-09-17 12:37:57 +00:00
utils.go Add validation for Headers struct 2020-11-07 17:16:54 +00:00
validation_suite_test.go Ensure errors in tests are logged to the GinkgoWriter 2021-02-10 19:50:04 +00:00