Forums, Documentation & Knowledge Base - ComponentSpace

Method to call InitiateSSO with PartnerIdentityProviderConfiguration


https://componentspace.com/forums/Topic11757.aspx

By nulleleven - 9/16/2021

We have several potential IdP's, and don't want them to be stored in a config, but rather have them in our database. We see the PartnerIdentityProviderConfiguration class, but do not see a signature of InitiateSSO (Or InitiateSLO for that matter) that takes this object. We need the properties occasionally, IE DisableDestinationCheck and ForceAuthn. Is there a method we can call into InitiateSSO with this object so that we can pass these properties or can they only be fetched from saml.config?
By ComponentSpace - 9/17/2021

That's correct. We actually use the ISAMLConfigurationResolver in all circumstances including when a saml.config file is used. There's an inbuilt implementation of ISAMLConfigurationResolver that reads from the cached saml.config file. Your ISAMLConfigurationResolver would read from the custom database. The Configuration Guide I mentioned previously describes how to implement this interface and how to register your implementation.