Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

SAML: add <mdui:UIInfo> element examples #8718

Merged
merged 8 commits into from
Nov 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/8718.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add some `mdui:UIInfo` element examples for `saml2_config` in the homeserver config.
22 changes: 22 additions & 0 deletions docs/sample_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1560,6 +1560,28 @@ saml2_config:
#description: ["My awesome SP", "en"]
#name: ["Test SP", "en"]

#ui_info:
# display_name:
# - lang: en
# text: "Display Name is the descriptive name of your service."
# description:
# - lang: en
# text: "Description should be a short paragraph explaining the purpose of the service."
# information_url:
# - lang: en
# text: "https://example.com/terms-of-service"
# privacy_statement_url:
# - lang: en
# text: "https://example.com/privacy-policy"
# keywords:
# - lang: en
# text: ["Matrix", "Element"]
# logo:
# - lang: en
# text: "https://example.com/logo.svg"
# width: "200"
# height: "80"

#organization:
# name: Example com
# display_name:
Expand Down
22 changes: 22 additions & 0 deletions synapse/config/saml2_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,28 @@ def generate_config_section(self, config_dir_path, server_name, **kwargs):
#description: ["My awesome SP", "en"]
#name: ["Test SP", "en"]

#ui_info:
# display_name:
# - lang: en
# text: "Display Name is the descriptive name of your service."
# description:
# - lang: en
# text: "Description should be a short paragraph explaining the purpose of the service."
# information_url:
# - lang: en
# text: "https://example.com/terms-of-service"
# privacy_statement_url:
# - lang: en
# text: "https://example.com/privacy-policy"
# keywords:
# - lang: en
# text: ["Matrix", "Element"]
# logo:
# - lang: en
# text: "https://example.com/logo.svg"
# width: "200"
# height: "80"

#organization:
# name: Example com
# display_name:
Expand Down