Hi all,

When working with SAML2Bearer grant type, in our Jaggery app, we need to
extract the SAML Assertion from the SAML response, and we tried as bellow,

var assertionXML = new XML(decode(assertion));
var extractedAssertion = assertionXML..*::["Assertion"].toXMLString();

When doing so, it seem to be adding formatting to XML, which causes,
signature validation issues in IS side. Is there a way to extract the
assertion without formatting?

Regards,
Inosh

-- 
Inosh Perera
Software Engineer, WSO2 Inc.
Tel: 0785293686
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to