1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-06-23 00:40:46 +02:00

Fix to work with python 3 (#427)

Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>
This commit is contained in:
ume
2020-03-01 03:13:49 +09:00
committed by GitHub
parent 51f4d88028
commit 0bca3564b5

View File

@ -10,7 +10,7 @@ nav_order: 3
`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.urlsafe_b64encode(os.urandom(16))'` To generate a strong cookie secret use `python -c 'import os,base64; print(base64.urlsafe_b64encode(os.urandom(16)).decode())'`
### Config File ### Config File