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/outpost
2021-01-16 21:41:39 +01:00
..
cmd/proxy outpost: separate ak-api and proxy further for future outposts 2021-01-16 21:41:39 +01:00
pkg outpost: separate ak-api and proxy further for future outposts 2021-01-16 21:41:39 +01:00
.dockerignore outpost: rename proxy to outpost 2021-01-16 19:20:27 +01:00
.gitignore outpost: rename proxy to outpost 2021-01-16 19:20:27 +01:00
azure-pipelines.yml outpost: rename proxy to outpost 2021-01-16 19:20:27 +01:00
Dockerfile outpost: rename proxy to outpost 2021-01-16 19:20:27 +01:00
go.mod outpost: separate ak-api and proxy further for future outposts 2021-01-16 21:41:39 +01:00
go.sum outpost: separate ak-api and proxy further for future outposts 2021-01-16 21:41:39 +01:00
main.go outpost: separate ak-api and proxy further for future outposts 2021-01-16 21:41:39 +01:00
Makefile outpost: rename proxy to outpost 2021-01-16 19:20:27 +01:00
README.md outpost: rename proxy to outpost 2021-01-16 19:20:27 +01:00

authentik Proxy

CI Build status Docker pulls (proxy)

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

Usage

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

The following environment variable are implemented:

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

AUTHENTIK_TOKEN: Token used to authenticate against authentik. This is generated after an Outpost instance is created.

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

Development

authentik Proxy uses an auto-generated API Client to communicate with authentik. 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.