providers/saml: fix error when PropertyMapping return value isn't string

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-08-03 22:40:56 +02:00
parent 4f1c11c5ef
commit aa4f7fb2b6
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ class AssertionProcessor:
provider=self.provider, provider=self.provider,
) )
if value is not None: if value is not None:
name_id.text = value name_id.text = str(value)
return name_id return name_id
except PropertyMappingExpressionException as exc: except PropertyMappingExpressionException as exc:
Event.new( Event.new(