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

Commit

Permalink
SAML: add <mdui:UIInfo> element examples (#8718)
Browse files Browse the repository at this point in the history
add some mdui:UIInfo element examples for saml2_config in homeserver.yaml
  • Loading branch information
localguru authored Nov 13, 2020
1 parent 69147ed commit 68fc0dc
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
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

0 comments on commit 68fc0dc

Please sign in to comment.