diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-02-25 17:47:19 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-02-25 17:47:19 +0000 |
commit | c36cf3c159d5032b60d310ecbcff7b709cfa1345 (patch) | |
tree | c25725cb291086792c62fb43d10d499ea3c2d4ee /docs | |
parent | remove unused parameter to get_user_id_by_threepid (#6099) (diff) | |
parent | Merge pull request #6037 from matrix-org/rav/saml_mapping_work (diff) | |
download | synapse-c36cf3c159d5032b60d310ecbcff7b709cfa1345.tar.xz |
Merge pull request #6037 from matrix-org/rav/saml_mapping_work
Diffstat (limited to 'docs')
-rw-r--r-- | docs/sample_config.yaml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml index 415365ad48..eeaed9d2db 100644 --- a/docs/sample_config.yaml +++ b/docs/sample_config.yaml @@ -1331,6 +1331,32 @@ saml2_config: # #saml_session_lifetime: 5m + # The SAML attribute (after mapping via the attribute maps) to use to derive + # the Matrix ID from. 'uid' by default. + # + #mxid_source_attribute: displayName + + # The mapping system to use for mapping the saml attribute onto a matrix ID. + # Options include: + # * 'hexencode' (which maps unpermitted characters to '=xx') + # * 'dotreplace' (which replaces unpermitted characters with '.'). + # The default is 'hexencode'. + # + #mxid_mapping: dotreplace + + # In previous versions of synapse, the mapping from SAML attribute to MXID was + # always calculated dynamically rather than stored in a table. For backwards- + # compatibility, we will look for user_ids matching such a pattern before + # creating a new account. + # + # This setting controls the SAML attribute which will be used for this + # backwards-compatibility lookup. Typically it should be 'uid', but if the + # attribute maps are changed, it may be necessary to change it. + # + # The default is 'uid'. + # + #grandfathered_mxid_source_attribute: upn + # Enable CAS for registration and login. |