A reverse proxy that provides authentication with Google, Github or other provider
10K+
A reverse proxy that provides authentication with Google, Github or other provider
⚠️ This project is no longer maintained. ⚠️
# Define installation folder
export INSTALL_DIRECTORY=/usr/bin
# Use local installation
sudo bin/installer install
# Use remote installation
curl --location "https://github.com/timonier/oauth2_proxy/raw/master/bin/installer" | sudo sh -s -- install
Note: If you do not define INSTALL_DIRECTORY, installer will use in /usr/local/bin.
Run the command oauth2_proxy:
# See all oauth2_proxy options
oauth2_proxy --help
# Run oauth2_proxy
export CLIENT_ID="...."
export CLIENT_SECRET="...."
export COOKIE_SECRET="$(bin/generate-secret)"
oauth2_proxy --authenticated-emails-file=/tmp/oauth2_emails --client-id="${CLIENT_ID}" --client-secret="${CLIENT_SECRET}" --cookie-secret="${COOKIE_SECRET}" --cookie-secure=false --http-address=:80 --provider=github --upstream="http://127.0.0.1:9000/"
Content type
Image
Digest
Size
6.5 MB
Last updated
almost 8 years ago
docker pull timonier/oauth2_proxy