diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-02-14 10:58:47 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-02-14 10:58:47 +0000 |
commit | 7d2d2a13fe1c8ab64234a8265d5e217ad0979bd2 (patch) | |
tree | c3f8e2db8ec2a87a70ab5e3dedc38e353f299045 /docs | |
parent | Merge pull request #5587 from matrix-org/erikj/fix_synctl (diff) | |
parent | Complete the SAML2 implementation (#5422) (diff) | |
download | synapse-7d2d2a13fe1c8ab64234a8265d5e217ad0979bd2.tar.xz |
Complete the SAML2 implementation (#5422)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/sample_config.yaml | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml index 98fba968b4..37143f9f0a 100644 --- a/docs/sample_config.yaml +++ b/docs/sample_config.yaml @@ -1164,6 +1164,12 @@ signing_key_path: "CONFDIR/SERVERNAME.signing.key" # so it is not normally necessary to specify them unless you need to # override them. # +# Once SAML support is enabled, a metadata file will be exposed at +# https://<server>:<port>/_matrix/saml2/metadata.xml, which you may be able to +# use to configure your SAML IdP with. Alternatively, you can manually configure +# the IdP to use an ACS location of +# https://<server>:<port>/_matrix/saml2/authn_response. +# #saml2_config: # sp_config: # # point this to the IdP's metadata. You can use either a local file or @@ -1173,7 +1179,15 @@ signing_key_path: "CONFDIR/SERVERNAME.signing.key" # remote: # - url: https://our_idp/metadata.xml # -# # The rest of sp_config is just used to generate our metadata xml, and you +# # By default, the user has to go to our login page first. If you'd like to +# # allow IdP-initiated login, set 'allow_unsolicited: True' in a +# # 'service.sp' section: +# # +# #service: +# # sp: +# # allow_unsolicited: True +# +# # The examples below are just used to generate our metadata xml, and you # # may well not need it, depending on your setup. Alternatively you # # may need a whole lot more detail - see the pysaml2 docs! # @@ -1196,6 +1210,12 @@ signing_key_path: "CONFDIR/SERVERNAME.signing.key" # # separate pysaml2 configuration file: # # # config_path: "CONFDIR/sp_conf.py" +# +# # the lifetime of a SAML session. This defines how long a user has to +# # complete the authentication process, if allow_unsolicited is unset. +# # The default is 5 minutes. +# # +# # saml_session_lifetime: 5m |