From 1919da7a1c8ebc6d963155f43655c9cb8467dc95 Mon Sep 17 00:00:00 2001 From: oysteikt Date: Thu, 11 Apr 2024 19:54:54 +0200 Subject: [PATCH] bicep/matrix: remove SAML authentication --- hosts/bicep/services/matrix/synapse.nix | 74 ------------------------- 1 file changed, 74 deletions(-) diff --git a/hosts/bicep/services/matrix/synapse.nix b/hosts/bicep/services/matrix/synapse.nix index bcdb850..5dbc0fa 100644 --- a/hosts/bicep/services/matrix/synapse.nix +++ b/hosts/bicep/services/matrix/synapse.nix @@ -134,80 +134,6 @@ in { "129.241.0.0/16" "2001:700:300::/44" ]; - - saml2_config = { - sp_config.metadata.remote = [ - { url = "https://idp.pvv.ntnu.no/simplesaml/saml2/idp/metadata.php"; } - ]; - - description = [ "Matrix Synapse SP" "en" ]; - name = [ "Matrix Synapse SP" "en" ]; - - ui_info = { - display_name = [ - { - lang = "en"; - text = "PVV Matrix login"; - } - ]; - description = [ - { - lang = "en"; - text = "Matrix is a modern free and open federated chat protocol"; - } - ]; - #information_url = [ - # { - # lang = "en"; - # text = ""; - # }; - #]; - #privacy_statement_url = [ - # { - # lang = "en"; - # text = ""; - # }; - #]; - keywords = [ - { - lang = "en"; - text = [ "Matrix" "Element" ]; - } - ]; - #logo = [ - # { - # lang = "en"; - # text = ""; - # width = ""; - # height = ""; - # } - #]; - }; - - organization = { - name = "Programvareverkstedet"; - display_name = [ "Programvareverkstedet" "en" ]; - url = "https://www.pvv.ntnu.no"; - }; - contact_person = [ - { given_name = "Drift"; - sur_name = "King"; - email_adress = [ "drift@pvv.ntnu.no" ]; - contact_type = "technical"; - } - ]; - - user_mapping_provider = { - config = { - mxid_source_attribute = "uid"; # What is this supposed to be? - mxid_mapping = "hexencode"; - }; - }; - - #attribute_requirements = [ - # {attribute = "userGroup"; value = "medlem";} # Do we have this? - #]; - }; }; };