Discuss this help topic in SecureBlackbox Forum

Add custom attributes to IdP response

You can handle TElSAMLIdentityProvider.OnResponsePrepared event to modify a response and add additional attributes. The event handler will receive TElSAMLResponseElement instance as a parameter. TElSAMLResponseElement has Assertions property that can be used to access individual assertions. Each assertion is represented as TElSAMLAssertionElement object that has Statements property which can be used to access individual assertion statements. You can add TElSAMLAttributeStatementElement objects to add assertions by calling TElSAMLAssertionElement.AddStatement() method. In turn, TElSAMLAttributeStatementElement has AddAttribute() method which allows to add a single TElSAMLAttributeElement attribute.

How To articles about SAML Identity Provider (IdP)

Discuss this help topic in SecureBlackbox Forum