SAMLIdentityProvider.CanSLO

Hi,
SAMLIdentityProvider.CanSLO(string idp) seems to always throw an error - A local identity provider is not configured. But the idp is configured in saml.config
and if I run SAMLServiceProvider.InitiateSLO(Response, Nothing, Nothing, idp) I get logged out successfully.

Thanks!

You should call SAMLServiceProvider.CanSLO rather than SAMLIdentityProvider.CanSLO. The SAMLIdentityProvider methods expect a local identity provider to be configured. If you’re calling SAMLServiceProvider.InitiateSLO it sounds like you’re the service provider rather than identity provider.

[quote]
ComponentSpace - 7/28/2020
You should call SAMLServiceProvider.CanSLO rather than SAMLIdentityProvider.CanSLO. The SAMLIdentityProvider methods expect a local identity provider to be configured. If you're calling SAMLServiceProvider.InitiateSLO it sounds like you're the service provider rather than identity provider.
[/quote]

That did it. Thanks.

You’re welcome.