Merge pull request #376 from reedloden/make-cookie-domain-optional

Don't set the cookie domain to the host by default, as it breaks Cookie Prefixes
This commit is contained in:
Jehiah Czebotar
2017-10-23 14:14:45 -04:00
committed by GitHub
2 changed files with 7 additions and 12 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ Usage of oauth2_proxy:
-client-id string: the OAuth Client ID: ie: "123456.apps.googleusercontent.com"
-client-secret string: the OAuth Client Secret
-config string: path to config file
-cookie-domain string: an optional cookie domain to force cookies to (ie: .yourcompany.com)*
-cookie-domain string: an optional cookie domain to force cookies to (ie: .yourcompany.com)
-cookie-expire duration: expire timeframe for cookie (default 168h0m0s)
-cookie-httponly: set HttpOnly cookie flag (default true)
-cookie-name string: the name of the cookie that the oauth_proxy creates (default "_oauth2_proxy")