docs: add docs for proxy provider

This commit is contained in:
Jens Langhammer
2020-09-09 19:21:36 +02:00
parent 296e1f4962
commit 37dcf264e5
4 changed files with 16 additions and 3 deletions

13
docs/providers/proxy.md Normal file
View File

@ -0,0 +1,13 @@
# Proxy Provider
This provider protects applications, which have no built-in support for OAuth2 or SAML. This is done by running a lightweight Reverse Proxy in front of the application, which authenticates the requests.
passbook Proxy is based on [oauth2_proxy](https://github.com/oauth2-proxy/oauth2-proxy), but has been integrated more tightly with passbook.
The Proxy these extra headers to the application:
Header Name | Value
-------------|-------
X-Auth-Request-User | The user's unique identifier
X-Auth-Request-Email | The user's email address
X-Auth-Request-Preferred-Username | The user's username