This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/proxy
Jens Langhammer b10912d8ba proxy: cleanup addHeadersForProxying 2020-10-07 18:02:57 +02:00
..
cmd proxy: improve reconnect logic, send version, properly version proxy 2020-09-19 01:37:08 +02:00
pkg proxy: cleanup addHeadersForProxying 2020-10-07 18:02:57 +02:00
.dockerignore Proxy v2 (#189) 2020-09-03 00:04:12 +02:00
.gitignore Proxy v2 (#189) 2020-09-03 00:04:12 +02:00
Dockerfile proxy: fix broken docker healthcheck 2020-10-05 22:53:26 +02:00
Makefile proxy: bump versions 2020-09-17 09:35:16 +02:00
README.md Proxy v2 (#189) 2020-09-03 00:04:12 +02:00
azure-pipelines.yml Proxy v2 (#189) 2020-09-03 00:04:12 +02:00
go.mod proxy: ask for pb_proxy scope, set authorization header if enabled 2020-09-30 11:49:06 +02:00
go.sum proxy: ask for pb_proxy scope, set authorization header if enabled 2020-09-30 11:49:06 +02:00
main.go Proxy v2 (#189) 2020-09-03 00:04:12 +02:00

README.md

passbook Proxy

CI Build status Docker pulls (proxy)

Reverse Proxy based on oauth2_proxy, completely managed and monitored by passbook.

Usage

passbook Proxy is built to be configured by passbook itself, hence the only options you can directly give it are connection params.

The following environment variable are implemented:

PASSBOOK_HOST: Full URL to the passbook instance with protocol, i.e. "https://passbook.company.tld"

PASSBOOK_TOKEN: Token used to authenticate against passbook. This is generated after an Outpost instance is created.

PASSBOOK_INSECURE: This environment variable can optionally be set to ignore the SSL Certificate of the passbook instance. Applies to both HTTP and WS connections.

Development

passbook Proxy uses an auto-generated API Client to communicate with passbook. This client is not kept in git. To generate the client locally, run make generate.

Afterwards you can build the proxy like any other Go project, using go build.