1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-01-10 04:18:14 +02:00
oauth2-proxy/docs
Nick Meves abeb0236d8
Strip X-Forwarded auth headers from whitelisted paths (#624)
* Strip X-Forwarded auth headers from whitelisted paths

For any paths that match skip-auth-regex, strip normal
X-Forwarded headers that would be sent based on pass-user-headers
or pass-access-token settings. This prevents malicious injecting
of authentication headers through the skip-auth-regex paths in
cases where the regex might be misconfigured and too open.
Control this behavior with --skip-auth-strip-headers flag. This
flag is set to TRUE by default (this is secure by default, but
potentially breaks some legacy configurations).

Only x-Forwarded headers stripped, left the Authorization header
untouched.

* Strip authorization header if it would be set

* Improve TestStripAuthHeaders test table

* Improve --skip-auth-strip-headers flag documentation
2020-07-14 23:46:44 +01:00
..
assets/js Initialise Jekyll site 2019-05-09 10:48:35 +01:00
configuration Strip X-Forwarded auth headers from whitelisted paths (#624) 2020-07-14 23:46:44 +01:00
logos Add logos to docs folder 2019-10-30 09:57:24 +00:00
_config.yml Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
.gitignore Initialise Jekyll site 2019-05-09 10:48:35 +01:00
0_index.md Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
1_installation.md Update changelog ready for release v6.0.0 2020-06-27 12:10:27 +01:00
2_auth.md Make example args a codeblock 2020-07-06 12:04:16 +02:00
4_tls.md Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
5_endpoints.md Use double dashes in docs (#530) 2020-05-09 15:39:47 +01:00
6_request_signatures.md Fix links in docs 2019-08-11 16:07:03 +01:00
404.html Initialise Jekyll site 2019-05-09 10:48:35 +01:00
Gemfile Initialise Jekyll site 2019-05-09 10:48:35 +01:00
Gemfile.lock Bump activesupport from 6.0.2.1 to 6.0.3.1 in /docs 2020-05-27 08:55:47 +00:00
Makefile docs: Fix required ruby-version (#675) 2020-07-12 16:09:34 +01:00
README.md docs: Fix required ruby-version (#675) 2020-07-12 16:09:34 +01:00

Docs

This folder contains our Jekyll based docs site which is hosted at https://oauth2-proxy.github.io/oauth2-proxy.

When making changes to this docs site, please test your changes locally:

docs$ make serve

To run the docs site locally you will need Ruby at version 2.5.0 or higher and bundle (gem install bundler if you already have Ruby).