A reverse proxy and static file server that provides authentication using Providers (Google, GitHub, and others) to validate accounts by email, domain or group.
Note: This repository is a fork of oauth2-proxy/oauth2-proxy that adds the subdomain routing feature, which is configurable in the Upstream Configuration.
test |http://127.0.0.1:8082/
other|http://127.0.0.1:8083/
other|http://127.0.0.1:8084/path/
|http://127.0.0.1:8085/
A list of changes can be seen in the CHANGELOG.
-
Choose how to deploy:
a. Build with
go get github.com/rustyx/oauth2_proxy
which will put the binary in$GOROOT/bin
b. Using the prebuilt docker image rustyx/oauth2_proxy (Linux AMD64)
-
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 a SSL endpoint (example provided for Nginx)
If you are running a version older than v5.0.0 we strongly recommend you please update to a current version. RE: open redirect vulnverability