How to pass an additional dataitem (Payload)

0
I have used the component source SA,; 2.0 component and was able to pass additional data. We have a client that requires SAML 1.0 and have selected the componentpro SAML component for this. I was looking at the SAML1SSO example IDP , ServiceProvider example and did not see a clear way to do this and am hoping some one has done this and can point me in the right direction. Thanks in advance
 
asked 6/26/2019 7:59:26 PM
add a comment

1 Answers

0
You can add a new `AttributeStatement` to `assertion.Statements` and in `AttributeStatement` you add a new `Attribute` using the prop `Attributes`. using ComponentPro.Saml1; ... var assertion = new Assertion(); ... var attributeStatement = new AttributeStatement(); var a = new Attribute(); ... attributeStatement.Attributes.Add(a); assertion.Statements.Add(attributeStatement); response.Assertions.Add(assertion);
 
answered 6/27/2019 4:12:48 PM
add a comment

Your Answer

Not the answer you're looking for? Browse other questions tagged saml or ask your own question.