git.iko.soy/typeable/oauth2-proxy
on master help sign in
Add client-secret-file to main FlagSet (#399)
commitedd6ad6ae57af7b427803c7bc6ddf8eb01d9684a authorNir Aizik <niraizik@users.noreply.github.com> dateMon 17 Feb 2020, 16:21 (7 years ago) parent2033ce8
1 file changed+1
main.go+1
main.go+1
@@ -70,6 +70,7 @@ func main() {
7070 flagSet.String("google-service-account-json", "", "the path to the service account json credentials")
7171 flagSet.String("client-id", "", "the OAuth Client ID: ie: \"123456.apps.googleusercontent.com\"")
7272 flagSet.String("client-secret", "", "the OAuth Client Secret")
73+ flagSet.String("client-secret-file", "", "the file with OAuth Client Secret")
7374 flagSet.String("authenticated-emails-file", "", "authenticate against emails via file (one per line)")
7475 flagSet.String("htpasswd-file", "", "additionally authenticate against a htpasswd file. Entries must be created with \"htpasswd -s\" for SHA encryption or \"htpasswd -B\" for bcrypt encryption")
7576 flagSet.Bool("display-htpasswd-form", true, "display username / password login form if an htpasswd file is provided")