summary refs log tree commit diff
path: root/synapse/config/saml2_config.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-01-17 10:32:47 +0000
committerGitHub <noreply@github.com>2020-01-17 10:32:47 +0000
commit2b6a77fcde8396331a790a5ddeaa744093a8c728 (patch)
treef90be1214509c7fc02e1dc68c095443f9431d979 /synapse/config/saml2_config.py
parentWake up transaction queue when remote server comes back online (#6706) (diff)
downloadsynapse-2b6a77fcde8396331a790a5ddeaa744093a8c728.tar.xz
Delegate remote_user_id mapping to the saml mapping provider (#6723)
Turns out that figuring out a remote user id for the SAML user isn't quite as obvious as it seems. Factor it out to the SamlMappingProvider so that it's easy to control.
Diffstat (limited to 'synapse/config/saml2_config.py')
-rw-r--r--synapse/config/saml2_config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/config/saml2_config.py b/synapse/config/saml2_config.py
index b91414aa35..423c158b11 100644
--- a/synapse/config/saml2_config.py
+++ b/synapse/config/saml2_config.py
@@ -121,6 +121,7 @@ class SAML2Config(Config):
         required_methods = [
             "get_saml_attributes",
             "saml_response_to_user_attributes",
+            "get_remote_user_id",
         ]
         missing_methods = [
             method