Installation
-
Choose how to deploy:
a. Using a Prebuilt Binary (current release is
v7.7.1
)b. Using Go to install the latest release
$ go install github.com/oauth2-proxy/oauth2-proxy/v7@latest
This will install the binary into
$GOPATH/bin
. Make sure you include$GOPATH
in your$PATH
. Otherwise your system won't find binaries installed viago install
c. 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.txt
checksum 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)