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:
commit
5928fe5485
@ -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 = ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user