git.iko.soy/typeable/oauth2-proxy
on master help sign in
Merge pull request #425 from bluecmd/patch-3

Update cookie generation to match base64 encoding

commit79fff535313bb1082e5d04701a77839b36c9659f authorJehiah Czebotar <jehiah@gmail.com> dateMon 28 Aug 2017, 20:44 (9 years ago) parent3c51c91f4321c4
1 file changed+1−1
README.md+1−1
README.md+1−1
@@ -147,7 +147,7 @@ To authorize by email domain use `--email-domain=yourcompany.com`. To authorize
147147
148148`oauth2_proxy` can be configured via [config file](#config-file), [command line options](#command-line-options) or [environment variables](#environment-variables).
149149
150−To generate a strong cookie secret use `python -c 'import os,base64; print base64.b64encode(os.urandom(16))'`
150+To generate a strong cookie secret use `python -c 'import os,base64; print base64.urlsafe_b64encode(os.urandom(16))'`
151151
152152### Config File
153153