git.iko.soy/typeable/oauth2-proxy
on master help sign in
Adding example for auth skiping
commit45e45303ad5e285662326a6143b9450bbd2fe020 authorPhilippe Bürgisser <philippe.burgisser@camptocamp.com> dateFri 27 Aug 2021, 09:37 (5 years ago) parent31f7c5b
1 file changed+6
contrib/oauth2-proxy.cfg.example+6
contrib/oauth2-proxy.cfg.example+6
@@ -63,6 +63,12 @@
6363## enabling exposes a username/login signin form
6464# htpasswd_file = ""
6565
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+
6672## Templates
6773## optional directory with custom sign_in.html and error.html
6874# custom_templates_dir = ""