1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2024-11-24 08:52:25 +02:00
oauth2-proxy/pkg/middleware
Nick Meves c1267bb92d
Request ID Logging (#1087)
* Add RequestID to the RequestScope

* Expose RequestID to auth & request loggers

* Use the RequestID in templated HTML pages

* Allow customizing the RequestID header

* Document new Request ID support

* Add more cases to scope/requestID tests

* Split Get vs Generate RequestID funtionality

* Add {{.RequestID}} to the request logger tests

* Move RequestID management to RequestScope

* Use HTML escape instead of sanitization for Request ID rendering
2021-03-21 18:20:57 +00:00
..
testdata/metrics Add Prometheus metrics endpoint 2021-02-15 13:45:26 +00:00
basic_session_test.go Add support for setting groups on session when using basic auth (#1064) 2021-02-25 13:02:23 -08:00
basic_session.go Add support for setting groups on session when using basic auth (#1064) 2021-02-25 13:02:23 -08:00
headers_test.go Flatten array-based response headers 2021-02-03 16:48:26 -08:00
headers.go Flatten array-based response headers 2021-02-03 16:48:26 -08:00
healthcheck_test.go (#649) Remove blank helthcheck user agents and paths when setting up the healthcheck middleware 2020-07-06 14:07:38 +12:00
healthcheck.go (#649) Remove blank helthcheck user agents and paths when setting up the healthcheck middleware 2020-07-06 14:07:38 +12:00
jwt_session_test.go Refactor organization of scope aware request utils 2021-01-16 13:55:48 -08:00
jwt_session.go Refactor organization of scope aware request utils 2021-01-16 13:55:48 -08:00
metrics_test.go Add Prometheus metrics endpoint 2021-02-15 13:45:26 +00:00
metrics.go Add Prometheus metrics endpoint 2021-02-15 13:45:26 +00:00
middleware_suite_test.go Move Logging to Middleware Package (#1070) 2021-03-06 17:27:16 +00:00
redirect_to_https_test.go Make HTTPS Redirect middleware Reverse Proxy aware 2021-01-16 13:55:48 -08:00
redirect_to_https.go Make HTTPS Redirect middleware Reverse Proxy aware 2021-01-16 13:55:48 -08:00
request_logger_test.go Request ID Logging (#1087) 2021-03-21 18:20:57 +00:00
request_logger.go Move Logging to Middleware Package (#1070) 2021-03-06 17:27:16 +00:00
scope_test.go Request ID Logging (#1087) 2021-03-21 18:20:57 +00:00
scope.go Request ID Logging (#1087) 2021-03-21 18:20:57 +00:00
session_utils_test.go Add Basic Auth session loader middleware 2020-07-19 17:21:42 +01:00
session_utils.go Add Basic Auth session loader middleware 2020-07-19 17:21:42 +01:00
stored_session_test.go Request ID Logging (#1087) 2021-03-21 18:20:57 +00:00
stored_session.go Refactor organization of scope aware request utils 2021-01-16 13:55:48 -08:00