oauth2_proxy

Reverse proxy for authenticating users via OAuth 2 providers

brewmacoslinux
Try with needOr install directly
Source

About

Reverse proxy for authenticating users via OAuth 2 providers

Commands

oauth2-proxy

Examples

Start oauth2-proxy with Google OAuth provider$ oauth2-proxy --provider=google --client-id=YOUR_CLIENT_ID --client-secret=YOUR_SECRET --cookie-secret=YOUR_COOKIE_SECRET --upstream=http://localhost:8080
Run with GitHub OAuth and specify config file$ oauth2-proxy --config=/etc/oauth2-proxy/config.cfg
Use as reverse proxy on custom port with email domain restriction$ oauth2-proxy --provider=google --upstream=http://localhost:3000 --http-address=0.0.0.0:4180 --email-domain=example.com