ComponentSpace

Forums



SAML SSO - IDP to SP - NullReference Exeption


SAML SSO - IDP to SP - NullReference Exeption

Author
Message
gbnaveen
gbnaveen
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: 15
Hi all,

We are trying to implement ComponentSpace SAML 2.0 based SSO using ADFS. And its IDP to SP.

Receiving the below error while calling the below code
samlAssertion = new SAMLAssertion(samlAssertionXML);

The SAML response seems to be good.

NullReferenceException: ObjectReference Not set to an instance of an object


attached file got more inner stack details


Attachments
NullReferenceException.pdf (1 view, 196.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
Have you confirmed that samlAssertionXML is not null?

The SAMLAssertion class is part of the SAML low-level API. Our recommendation is to use the SAML high-level API as this is much easier to use and requires much less code in your application. The SAMLServiceProvider.ReceiveSSO call receives and processes the SAML response from the IdP.

I suggest taking a look at the ExampleServiceProvider project under the Examples\SSO\WebForms folder to see how SAMLServiceProvider.ReceiveSSO is called. The Examples Guide and Developer Guide in the documentation folder provide more information.

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