Commit 95a07988 authored by ale's avatar ale

Minor fixes to some sso-server regexps

parent 56a402a8
Pipeline #3333 passed with stage
in 4 minutes and 56 seconds
......@@ -12,7 +12,7 @@ sso_server_url_path_prefix: "/"
# public_endpoints).The values are regular expressions and must be
# escaped if necessary.
sso_extra_allowed_services:
- "^(imap|accountserver).{{ domain | regex_escape }}/$"
- "^(imap|accountserver)\\.{{ domain | regex_escape }}/$"
- "[^.]+\\.webmail\\.{{ domain_public[0] | regex_escape }}/$"
# Allowed exchanges (source and destination services).
......@@ -20,9 +20,9 @@ sso_allowed_exchanges:
- src_regexp: "^[^.]+\\.webmail\\.({{ domain_public | join('|') }})/$"
dst_regexp: "^imap\\.{{ domain | regex_escape }}/$"
- src_regexp: "^accounts\\.({{ domain_public | join('|') }})/$"
dst_regexp: "^accountserver.{{ domain | regex_escape }}/$"
dst_regexp: "^accountserver\\.{{ domain | regex_escape }}/$"
- src_regexp: "^accountadmin\\.({{ domain_public | join('|') }})/$"
dst_regexp: "^accountserver.{{ domain | regex_escape }}/$"
dst_regexp: "^accountserver\\.{{ domain | regex_escape }}/$"
# TTLs for SSO tickets for various services. Remember to always
# include the catch-all default entry.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment