ComponentSpace

Forums



SAML Configuration


SAML Configuration

Author
Message
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 clarification.
Generally we maintain backward compatibility but we did break it in this instance as part of the refactoring of the SAML configuration classes.
Instead of setting SAMLConfiguration.Current you now set SAMLController.Configuration.
You'll see an example of this at:
http://www.componentspace.com/Forums/38/Specifying-the-SAML-Configuration-Programmatically


Regards
ComponentSpace Development
MassDotNet
MassDotNet
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: 2, Visits: 10
ComponentSpace - 12/27/2016
Thanks for the clarification.
Generally we maintain backward compatibility but we did break it in this instance as part of the refactoring of the SAML configuration classes.
Instead of setting SAMLConfiguration.Current you now set SAMLController.Configuration.
You'll see an example of this at:
http://www.componentspace.com/Forums/38/Specifying-the-SAML-Configuration-Programmatically

Awesome, I was wondering where that static property went!  However, the SAMLConfiguration.Load() method also seems to have disappeared in between version 2.5.0.16 and 2.6.0.13.  What is the modern way of handling that call?
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
Do you mean, how do you load the SAML configuration file?
This occurs automatically. You don't need to call the API.

Regards
ComponentSpace Development
MassDotNet
MassDotNet
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: 2, Visits: 10
ComponentSpace - 1/27/2017
Do you mean, how do you load the SAML configuration file?
This occurs automatically. You don't need to call the API.

You mean by using the SamlConfigFile config key?
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
By default we look for the saml.config in your application's root folder (ie the same folder as your main web.config).
The SamlConfigFile config key is only required if the file is located elsewhere.
The simplest approach is to not specify SamlConfigFile and to include the saml.config in your application's root folder.

Regards
ComponentSpace Development
supriyo.is4u
supriyo.is4u
New Member
New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)

Group: Forum Members
Posts: 7, Visits: 38
I have upgraded the new Dll from the older one.
So changed some code after the upgrade :
Old:
SAMLConfiguration.Current = samlConfiguration;

New Change:
SAMLController.Configuration = samlConfiguration;

But i am facing issues after the changes with following error:
SAML2ResponseErrorPage

No partner identity providers have been configured

can you please help on this.
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
Please take a look at the following forum post.
http://www.componentspace.com/Forums/38/Specifying-the-SAML-Configuration-Programmatically
You need to call AddPartnerIdentityProvider as shown.
If there's still an issue and you prefer not to post code here you're welcome to email [email protected] and we can take a look at your code.

Regards
ComponentSpace Development
supriyo.is4u
supriyo.is4u
New Member
New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)

Group: Forum Members
Posts: 7, Visits: 38
ComponentSpace - 3/23/2017
Please take a look at the following forum post.
http://www.componentspace.com/Forums/38/Specifying-the-SAML-Configuration-Programmatically
You need to call AddPartnerIdentityProvider as shown.
If there's still an issue and you prefer not to post code here you're welcome to email [email protected] and we can take a look at your code.

we load the SAML Configuaration from a metadata file . Its a XML that is loaded. I guess the error is due to the change as in the "out Attributes" i am receiving null value.
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
Can you confirm the SAML metadata you're loading includes an IDPSSODescriptor?
Does your code call AddPartnerIdentityProvider?




Regards
ComponentSpace Development
supriyo.is4u
supriyo.is4u
New Member
New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)

Group: Forum Members
Posts: 7, Visits: 38
ComponentSpace - 3/23/2017
Can you confirm the SAML metadata you're loading includes an IDPSSODescriptor?
Does your code call AddPartnerIdentityProvider?



Hello Team,

I fixed the issue.As the Issue was with the SAMLConfiguration xml. <PartnerIdentityProviders> did not included the Node.I think this is included in the new version.
Thanks for your Support.

Thanks.
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