Fix to work with python 3 (#427)
Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>
commit0bca3564b58ff538fcf1238a4c9263250b6ee720
authorume <bungoume@gmail.com>
dateSun 1 Mar 2020, 03:13 (7 years ago)
parent51f4d88
docs/configuration/configuration.md+1−1
@@ -10,7 +10,7 @@ nav_order: 3
1010
1111`oauth2_proxy` can be configured via [config file](#config-file), [command line options](#command-line-options) or [environment variables](#environment-variables).
1212
13−To generate a strong cookie secret use `python -c 'import os,base64; print base64.urlsafe_b64encode(os.urandom(16))'`
13+To generate a strong cookie secret use `python -c 'import os,base64; print(base64.urlsafe_b64encode(os.urandom(16)).decode())'`
1414
1515### Config File
1616