Skip to content

Docker image for oauth2_proxy, a reverse proxy that provides authentication with Google, Github or other providers

License

Notifications You must be signed in to change notification settings

Intellection/docker-oauth2-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker OAuth2 Proxy

CircleCI

This is a small docker image for oauth2_proxy which is a reverse proxy that provides authentication with Google, GitHub or other providers.

Configuration

Configure OAuth2 Proxy using config file, command line options, or environment variables. See bitly/oauth2_proxy documentation for more details.

Usage

Protect an upstream service e.g. http://someservice:1234 using Google as the provider (default) but limited to yourdomain.com email addresses:

$ docker run \
    -p 4180:4180 \
    -e OAUTH2_PROXY_CLIENT_ID="SOME_CLIENT_ID" \
    -e OAUTH2_PROXY_CLIENT_SECRET="SOME_CLIENT_SECRET" \
    -e OAUTH2_PROXY_COOKIE_SECRET="SOME_COOKIE_SECRET" \
    zappi/oauth2_proxy:2.1 \
    -—upstream=http://someservice:1234 \
    -—http-address=0.0.0.0:4180 \
    -—email-domain=yourdomain.com

About

Docker image for oauth2_proxy, a reverse proxy that provides authentication with Google, Github or other providers

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published