Hi,
I'm using cas-5.1.
My cas-client is configured to use host name as the url. But when I hit the
https://192.168.2.2/cas/logout url, I'm getting cas logout success page but the SLO is not happening. I'm still able to access my client-app. In cas logs I'm getting the following errors.
2017-06-06 19:42:16,927 DEBUG [org.apereo.cas.logout.DefaultSingleLogoutServiceMessageHandler] - <Prepared logout url [null] for service [org.apereo.cas.authentication.principal.SimpleWebApplicationServiceImpl@f0d68c7[id=http://sammachine:8090/sample-app/sample-client,originalUrl=http://sammachine:8090/sample-app/sample-client,artifactId=<null>,principal=adminuser,loggedOutAlready=false,format=XML]]>
2017-06-06 19:42:16,927 DEBUG [org.apereo.cas.logout.DefaultSingleLogoutServiceMessageHandler] - <Service [org.apereo.cas.authentication.principal.SimpleWebApplicationServiceImpl@f0d68c7[id=http://sammachine:8090/sample-app/sample-client,originalUrl=http://sammachine:8090/sample-app/sample-client,artifactId=<null>,principal=adminuser,loggedOutAlready=false,format=XML]] does not support logout operations given no logout url could be determined.>
But strangely when I configure my client to use ip address as the url (i.e insted of
sammachine:8090/sample-app used
192.168.2.3:8090/sample-app), then SLO is working as expected.
Any configuration changes required in new cas-5.1.x ?
Also in older cas 4.1.x it is working with both ip address and host name.