I need to set a boolean attribute to the user profile when the user logged through SAML. We have other attributes like email=profile/email in Sync Attributes of SAML Authentication Handler config, similarly i want to add isEmployee=profile/isEmployee as Boolean value not as String. isEmployee=profile/isEmployee setting the value as String. Anyone know how to set it as Boolean value in Synchronize Attributes of SAML Authentication Handler? Or SAML supports only syncing String attributes from SAML to user profile? Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Defitnitely it can be done if your IDP returns a boolean in response for those attribute in SAML Assertion metadata. It should be something like this:
<saml:Attribute Name="isEmployee"><saml:AttributeValue xsi:type="xs:boolean">false</saml:AttributeValue></saml:Attribute>
Hope this helps!
Defitnitely it can be done if your IDP returns a boolean in response for those attribute in SAML Assertion metadata. It should be something like this:
<saml:Attribute Name="isEmployee"><saml:AttributeValue xsi:type="xs:boolean">false</saml:AttributeValue></saml:Attribute>
Hope this helps!
Thanks navinkaushal for the input. Appreciate it.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies