With everything looking good when performing an IDP initiated SSO using the example default saml.config settings, I moved on to try Implementing the ISAMLConfigurationResolver for multiple SP's.
There's likely a misunderstanding on my part regarding the best way to implement this. On the IDP side, I have the configuration resolver registered in my startup class as follows: SAMLController.ConfigurationResolver = new MvcExampleIdentityProvider.Controllers.CustomConfigurationResolver();
In the controller InitiateSingleSignOn() method, I have: CustomConfigurationResolver config = new CustomConfigurationResolver(); config.GetLocalIdentityProviderConfiguration("test"); config.GetPartnerServiceProviderConfiguration("test", "test2");
Both Get methods currently have the sample hardcoded config values as set in the saml.config. Both methods appear to execute without error, but when the SP AssertionConsumerService() method runs, I get said error when receiving the SAML response in SAMLServiceProvider.ReceiveSSO.
Any suggestions would be greatly apprecited.
|