The issue was fixed. And the root reason is that the target URL after 
logout should start with "HTTPS://". Cheers!


On Monday, 13 November 2017 23:27:03 UTC+8, Draco Wang wrote:
>
> Hello,
>
> I met an issue that CAS cannot redirect back to my application when click 
> "Logout" on my application which registered in "CAS Service Management" 
> already.
>
> Here are some details:
> 1. My application is developed in PHP and included PHPCAS library. In the 
> logout function, I called the method phpCAS::logoutWithRedirectService('
> http://my-application-homepage.com');
> 2. This method redirect my application to 
> https://my-cas.com/cas/logout?service=http%3A%2F%2Fmy-application-homepage.com,
>  
> and show me the logout page without redirection back!
> 3. In CAS server, I have added this line "
> cas.logout.followServiceRedirects=true" into 
> /etc/cas/config/cas.properties. And I am sure that in the file, the other 
> lines properties work well.
>
> So anything else I missed in my case? Thanks in advance for your help.
> (About 5.1.5 version, so few materials can be found on-line).
>
> Draco Wang
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/6fcf3219-49b5-4f5f-bd7b-8ddf721d8be3%40apereo.org.

Reply via email to