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
36b346662c
commit
a449f9c69b
|
@ -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(
|
||||||
|
|
Reference in New Issue