Exception "Failed to convert the base-64 encoded string into XML"

We have a form that takes a password as input, and then makes a SAML request. When we use that form from a regular desktop, it works as expected, but when we use the form from an iPAD, we get this exception:

ComponentSpace.SAML2.Exceptions.SAMLSerializationException: Failed to convert the base-64 encoded string into XML.
at ComponentSpace.SAML2.Utility.SAML.FromBase64String(String text)
at ComponentSpace.SAML2.Bindings.HTTPPostBinding.GetFormVariables(HttpRequest httpRequest, String messageFormVariableName, XmlElement& samlMessage, String& relayState)
at ComponentSpace.SAML2.Bindings.HTTPPostBinding.ReceiveRequest(HttpRequest httpRequest, XmlElement& samlMessage, String& relayState)

Any known issues with iOS and the SAML component?

We’re not aware of any issues related to iOS devices. Our testing includes Safari on an iPhone and iPad.
Could you please enable SAML trace and send the generated log file to support@componentspace.com mentioning this topic?

http://www.componentspace.com/Forums/17/Enabing-SAML-Trace


Setting up a new customer for SSO and they are getting this when they hit are assertation. I have attached my log file.
Please let me know if you need more information

ComponentSpace.SAML2.Exceptions.SAMLSerializationException..ctor(Stringmessage, Exception innerException)

atComponentSpace.SAML2.Utility.SAML.FromBase64String(String text)
at ComponentSpace.SAML2.Bindings.HTTPPostBinding.GetFormVariables(HttpRequest httpRequest, String messageFormVariableName, XmlElement& samlMessage, String& relayState)
at ComponentSpace.SAML2.Bindings.HTTPPostBinding.ReceiveResponse(HttpRequest httpRequest, XmlElement& samlMessage, String& relayState)
at ComponentSpace.SAML2.InternalSAMLServiceProvider.ReceiveSSO(HttpRequest httpRequest, Boolean& isInResponseTo, String& partnerIdP, String& authnContext, String& userName, SAMLAttribute[]& attributes, String& relayState)
at ComponentSpace.SAML2.SAMLServiceProvider.ReceiveSSO(HttpRequest httpRequest, Boolean& isInResponseTo, String& partnerIdP, String& authnContext, String& userName, IDictionary& attributes, String& relayState)
at ServiceProvider.SAML.AssertionConsumerService.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


The attachment is of the SAML response XML rather than the encoded string.

Please enable SAML trace and send the generated log file as an email attachment to support@componentspace.com mentioning your forum post.

https://www.componentspace.com/Forums/17/Enabing-SAML-Trace