git.iko.soy/typeable/oauth2-proxy
on master help sign in
Adding example for auth skiping
45e4530Philippe Bürgisser
contrib/oauth2-proxy.cfg.example+6
@@ -63,6 +63,12 @@
63## enabling exposes a username/login signin form
63## enabling exposes a username/login signin form
64# htpasswd_file = ""
64# htpasswd_file = ""
65
65
66+## bypass authentication for requests that match the method & path. Format: method=path_regex OR path_regex alone for all methods
67+# skip_auth_routes = [
68+# "GET=^/probe",
69+# "^/metrics"
70+# ]
71+
66## Templates
72## Templates
67## optional directory with custom sign_in.html and error.html
73## optional directory with custom sign_in.html and error.html
68# custom_templates_dir = ""
74# custom_templates_dir = ""