ComponentSpace

Forums



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


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

Author
Message
atorreno
atorreno
New Member
New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)

Group: Forum Members
Posts: 1, Visits: 2
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?
ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)

Group: Administrators
Posts: 3.2K, Visits: 11K
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 [email protected] mentioning this topic?

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




Regards
ComponentSpace Development
[email protected]
mcclain@nccn.org
New Member
New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)

Group: Forum Members
Posts: 1, Visits: 3

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`2& 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)



Attachments
abc_response.txt (1 view, 3.00 KB)
ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)

Group: Administrators
Posts: 3.2K, Visits: 11K
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 [email protected] mentioning your forum post.

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


Regards
ComponentSpace Development
GO


Similar Topics


Execution: 0.000. 2 queries. Compression Enabled.
Login
Existing Account
Email Address:


Password:


Select a Forum....












Forums, Documentation & Knowledge Base - ComponentSpace


Search