Hi,
I'm using CAS 5.1.0-RC2 as SAML2 IdP deployed into an external Tomcat 8. I found that CAS fails to locate the matching service metadata when there's more than one SAML services defined. Here's the scenarios:
With two SAML services defined, after logging into one of the service, logout from it, CAS IdP failed to the logout with an error:
...
With the debug turned on, it looks like CAS did locate the right service metadata, but somehow did not use it and continued on to locate the second and wrong service metadata. Of course it would find the entity id there.
However, if I delete the second service definition, the LogoutRequest was handled w/o error - even though it did not work as expected - see a separate topic.
Attached is the Tomcat console log with debug turned on for org.apereo. Look for "Start of SLO".
Appreciate any help!
Gang