ComponentSpace

Forums



Getting "The partner identity provider http://xxxx is not configured." when Implementing...


Getting "The partner identity provider http://xxxx is not configured."...

Author
Message
dscott
dscott
New Member
New Member (13 reputation)New Member (13 reputation)New Member (13 reputation)New Member (13 reputation)New Member (13 reputation)New Member (13 reputation)New Member (13 reputation)New Member (13 reputation)New Member (13 reputation)

Group: Forum Members
Posts: 9, Visits: 37
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.


Attachments
sp.log (4 views, 43.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
The log shows the saml.config file being used rather than your CustomConfigurationResolver.
Is the CustomConfigurationResolver just for the IdP and the SP is using a saml.config file?
The error in the SP log is:
"The partner identity provider http://MvcExampleIdentityProvider is not configured."
That's correct as your saml.config has a <PartnerIdentityProvider> with a name of "https://MvcExampleIdentityProvider".
You need to ensure the names are consistent between the IdP and SP.

Regards
ComponentSpace Development
dscott
dscott
New Member
New Member (13 reputation)New Member (13 reputation)New Member (13 reputation)New Member (13 reputation)New Member (13 reputation)New Member (13 reputation)New Member (13 reputation)New Member (13 reputation)New Member (13 reputation)

Group: Forum Members
Posts: 9, Visits: 37
Got it, thank you for your help and patience.
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
You're welcome.

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