add oauth_skip_auth_routes variable

Useful for excluding `/webhook` from Caddy-git.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2022-08-09 00:11:01 +02:00
parent 121d5c05ae
commit ff690889d9
No known key found for this signature in database
GPG Key ID: 09AA5403E54D9931
2 changed files with 8 additions and 0 deletions

View File

@ -28,6 +28,11 @@ oauth_cont_etc_hosts:
oauth_domain: ~
oauth_callback: '/oauth2/callback'
# Skip auth for these paths.
oauth_skip_auth_routes: []
# - 'POST=/ping'
# - '/webhook'
# Providers
oauth_provider: 'github'
oauth_github_org: 'status-im'

View File

@ -34,6 +34,9 @@ services:
{% endif %}
--request-logging=false
--reverse-proxy=true
{% for route in oauth_skip_auth_routes %}
--skip-auth-route={{ route }}
{% endfor %}
{% if oauth_cont_networks %}
networks: