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:
parent
4f1c11c5ef
commit
aa4f7fb2b6
|
@ -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(
|
||||||
|
|
Reference in New Issue