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 36b346662c
commit a449f9c69b
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,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(