ComponentSpace

Forums



saml form not existing


saml form not existing

Author
Message
demyoliver
demyoliver
New Member
New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)

Group: Forum Members
Posts: 16, Visits: 31
Hi,

I am getting an error from a Javascript method that was automatically created by the ComponentSpace SAML library.




In my aspx page, this is not at all existing:


Any reason why?

Regards,
Demy
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
What is the error you're seeing? Is it that "samlform" is missing?
Are you attempting to render a page as well as send a SAML message via HTTP-Post?
The HTML returned in the HTTP response to the browser includes some JavaScript and an HTML form.
The JavaScript automatically submits the HTML form resulting in an HTTP Post of the encoded SAML message being sent to the partner provider.
If there's still an issue, please capture the HTTP traffic as an HAR file using browser developer tools and send this to [email protected] as a file attachment and mentioning your forum post.
Also include the associated ASPX page and code behind.

Regards
ComponentSpace Development
demyoliver
demyoliver
New Member
New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)

Group: Forum Members
Posts: 16, Visits: 31
ComponentSpace - 5/28/2019
What is the error you're seeing? Is it that "samlform" is missing? Yes
Are you attempting to render a page as well as send a SAML message via HTTP-Post? No really render a page but the SP redirects so SSOService.aspx which goes back to the client (and yes, eventually renders it) then logs in the user.

The HTML returned in the HTTP response to the browser includes some JavaScript and an HTML form.
The JavaScript automatically submits the HTML form resulting in an HTTP Post of the encoded SAML message being sent to the partner provider.
If there's still an issue, please capture the HTTP traffic as an HAR file using browser developer tools and send this to [email protected] as a file attachment and mentioning your forum post.
Also include the associated ASPX page and code behind.




demyoliver
demyoliver
New Member
New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)

Group: Forum Members
Posts: 16, Visits: 31
demyoliver - 5/29/2019
ComponentSpace - 5/28/2019
What is the error you're seeing? Is it that "samlform" is missing? Yes
Are you attempting to render a page as well as send a SAML message via HTTP-Post? No really render a page but the SP redirects so SSOService.aspx which goes back to the client (and yes, eventually renders it) then logs in the user.

The HTML returned in the HTTP response to the browser includes some JavaScript and an HTML form.
The JavaScript automatically submits the HTML form resulting in an HTTP Post of the encoded SAML message being sent to the partner provider.
If there's still an issue, please capture the HTTP traffic as an HAR file using browser developer tools and send this to [email protected] as a file attachment and mentioning your forum post.
Also include the associated ASPX page and code behind.




Yes. samlform is missing.
No, I am not attempting to render the page but SSOService.aspx needs to be called by SP hence the redirection hence the rendering of the page to the browser.
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
I would need the HAR file and ASPX page/code behind to investigate.

Regards
ComponentSpace Development
demyoliver
demyoliver
New Member
New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)

Group: Forum Members
Posts: 16, Visits: 31
ComponentSpace - 5/29/2019
I would need the HAR file and ASPX page/code behind to investigate.

Hi,

I cannot give the HAR file as it will be a security concern. 
Here is the code behind of SSOService.aspx:



demyoliver
demyoliver
New Member
New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)

Group: Forum Members
Posts: 16, Visits: 31
demyoliver - 5/29/2019
ComponentSpace - 5/29/2019
I would need the HAR file and ASPX page/code behind to investigate.

Hi,

I cannot give the HAR file as it will be a security concern. 
Here is the code behind of SSOService.aspx:



By the way, this only happens for IE
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 don't have any code that's browser specific. We're not aware of any issues running on IE.
If you can't provide a HAR file, I suggest using the browser developer tools for IE and Chrome to capture the network traffic and compare.
Also, run the ExampleIdentityProvider and ExampleServiceProvider projects to see if you can reproduce the issue.
https://www.componentspace.com/Forums/9351/Examples-Guide
If you can't then compare the examples with your project.
We test these and other projects using all the popular browsers including IE (currently at version 11). All work without any issues.

Regards
ComponentSpace Development
demyoliver
demyoliver
New Member
New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)

Group: Forum Members
Posts: 16, Visits: 31
ComponentSpace - 5/31/2019
We don't have any code that's browser specific. We're not aware of any issues running on IE.
If you can't provide a HAR file, I suggest using the browser developer tools for IE and Chrome to capture the network traffic and compare.
Also, run the ExampleIdentityProvider and ExampleServiceProvider projects to see if you can reproduce the issue.
https://www.componentspace.com/Forums/9351/Examples-Guide
If you can't then compare the examples with your project.
We test these and other projects using all the popular browsers including IE (currently at version 11). All work without any issues.

This is now fixed. It seems that my SSOService.aspx is getting converted to IE5 compatibility looking at developer tools which is quite odd.
Nevertheless, I have ensured that the page has a header and a metadate that will force IE to use edge compatibility rather then IE5.
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
Thanks for the update.

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