From d8ae56ed19f97979d5d3e45cda7cd5ae79c56076 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 30 Jan 2021 12:33:27 +0100 Subject: [PATCH] providers/saml: fix imported provider not saving properties correctly --- authentik/providers/saml/processors/metadata_parser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/authentik/providers/saml/processors/metadata_parser.py b/authentik/providers/saml/processors/metadata_parser.py index cd7797ab2..91425cf51 100644 --- a/authentik/providers/saml/processors/metadata_parser.py +++ b/authentik/providers/saml/processors/metadata_parser.py @@ -76,6 +76,7 @@ class ServiceProviderMetadata: provider.property_mappings.set( SAMLPropertyMapping.objects.filter(name__startswith="Autogenerated") ) + provider.save() return provider