Installation
-
Choose how to deploy:
a. Using a Prebuilt Binary (current release is
v7.12.0)b. Using Go to install the latest release
$ go install github.com/oauth2-proxy/oauth2-proxy/v7@latestThis will install the binary into
$GOPATH/bin. Make sure you include$GOPATHin your$PATH. Otherwise your system won't find binaries installed viago installc. Using a Prebuilt Docker Image (AMD64, PPC64LE, S390x, ARMv6, ARMv7, and ARM64 available)
d. Using a Pre-Release Nightly Docker Image (AMD64, PPC64LE, ARMv6, ARMv7, and ARM64 available)
e. Using the official Kubernetes manifest (Helm)
Prebuilt binaries can be validated by extracting the file and verifying it against the
sha256sum.txtchecksum file provided for each release starting with versionv3.0.0.$ sha256sum -c sha256sum.txt
oauth2-proxy-x.y.z.linux-amd64: OK -
Select a Provider and Register an OAuth Application with a Provider
-
Configure OAuth2 Proxy using config file, command line options, or environment variables
-
Configure SSL or Deploy behind an SSL endpoint (example provided for Nginx)
-
Configure OAuth2 Proxy using systemd.socket (example provided for Nginx/Systemd)