@@ -147,7 +147,7 @@ To authorize by email domain use `--email-domain=yourcompany.com`. To authorize
148`oauth2_proxy` can be configured via [config file](#config-file), [command line options](#command-line-options) or [environment variables](#environment-variables).
148`oauth2_proxy` can be configured via [config file](#config-file), [command line options](#command-line-options) or [environment variables](#environment-variables).
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))'`
152### Config File
152### Config File