Merge pull request #425 from bluecmd/patch-3

Update cookie generation to match base64 encoding
This commit is contained in:
Jehiah Czebotar 2017-08-28 20:44:49 -04:00 committed by GitHub
commit 79fff53531

View File

@ -147,7 +147,7 @@ To authorize by email domain use `--email-domain=yourcompany.com`. To authorize
`oauth2_proxy` can be configured via [config file](#config-file), [command line options](#command-line-options) or [environment variables](#environment-variables). `oauth2_proxy` can be configured via [config file](#config-file), [command line options](#command-line-options) or [environment variables](#environment-variables).
To generate a strong cookie secret use `python -c 'import os,base64; print base64.b64encode(os.urandom(16))'` To generate a strong cookie secret use `python -c 'import os,base64; print base64.urlsafe_b64encode(os.urandom(16))'`
### Config File ### Config File