1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-03-31 22:21:57 +02:00

Merge pull request #1345 from pburgisser/add_skip_route_exemple

Adding example for auth skipping
This commit is contained in:
Joel Speed 2021-08-27 11:25:57 +02:00 committed by GitHub
commit 5928fe5485
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,6 +63,12 @@
## enabling exposes a username/login signin form
# htpasswd_file = ""
## bypass authentication for requests that match the method & path. Format: method=path_regex OR path_regex alone for all methods
# skip_auth_routes = [
# "GET=^/probe",
# "^/metrics"
# ]
## Templates
## optional directory with custom sign_in.html and error.html
# custom_templates_dir = ""