@@ -50,8 +50,10 @@ Usage of ./google_auth_proxy:
5050 -client-id="": the Google OAuth Client ID: ie: "123456.apps.googleusercontent.com"
5151 -client-secret="": the OAuth Client Secret
5252 -cookie-domain="": an optional cookie domain to force cookies to
53+ -cookie-expire=168h: expire timeframe for cookie
54+ -cookie-https-only=false: set HTTPS only cookie
5355 -cookie-secret="": the seed string for secure cookies
54− -google-apps-domain="": authenticate against the given google apps domain
56+ -google-apps-domain=[]: authenticate against the given google apps domain (may be given multiple times)
5557 -htpasswd-file="": additionally authenticate against a htpasswd file. Entries must be created with "htpasswd -s" for SHA encryption
5658 -http-address="127.0.0.1:4180": <addr>:<port> to listen on for HTTP clients
5759 -pass-basic-auth=true: pass HTTP Basic Auth information to upstream
@@ -98,6 +100,7 @@ The command line to run `google_auth_proxy` would look like this:
98100 --google-apps-domain="yourcompany.com" \
99101 --upstream=http://127.0.0.1:8080/ \
100102 --cookie-secret=... \
103+ --cookie-secure=true \
101104 --client-id=... \
102105 --client-secret=...
103106```
@@ -108,9 +111,9 @@ The environment variables `google_auth_client_id`, `google_auth_secret` and `goo
108111
109112## Endpoint Documentation
110113
111−Google auth proxy responds directly to the following endpoints. All other endpoints will be authenticated.
114+Google Auth Proxy responds directly to the following endpoints. All other endpoints will be authenticated.
112115
113116* /ping - returns an 200 OK response
114117* /oauth2/sign_in - the login page, which also doubles as a sign out page (it clears cookies)
115−* /oauth2/start - a URL that will redirect to start the oauth cycle
116−* /oauth2/callback - the URL used at the end of the oauth cycle
118+* /oauth2/start - a URL that will redirect to start the OAuth cycle
119+* /oauth2/callback - the URL used at the end of the OAuth cycle