redirect after logout

84 views
Skip to first unread message

Nour Krichene

unread,
Apr 16, 2017, 3:02:11 PM4/16/17
to CAS Community

7:45 PM (1 hour ago)
Hello
after logout how to redirect to the service again ?
I tried to add redirect logout to cas.properties and add service in web.xml but it did not work


cas.logout.followServiceRedirects=true


<filter>
        <filter-name>CAS Single Sign Out Filter</filter-name>
        <filter-class>org.jasig.cas.client.session.SingleSignOutFilter</filter-class>
        <init-param>
            <param-name>casServerUrlPrefix</param-name>
            <param-value>https://localhost:8443/cas</param-value>
        </init-param>

<init-param>
    <param-name>service</param-name>
    <param-value>https://localhost:8443/webapp1</param-value>
  </init-param>


    </filter>
Auto Generated Inline Image 1

Martin Bohun

unread,
Apr 16, 2017, 10:24:52 PM4/16/17
to CAS Community
I had a similar problem apx. 2 years ago, not sure if it is exactly the same issue you ran into, my one was because of the variable/parameter name for the logout URL changed:

cheers,

martin

Nour Krichene

unread,
Apr 17, 2017, 12:16:19 PM4/17/17
to CAS Community
I fix it
I had to put the link of cas logout than the service cas/logout?service....
thank you

SOPHIE Fang

unread,
Oct 17, 2017, 5:08:07 PM10/17/17
to CAS Community, kriche...@gmail.com

What does this mean? i have the same issue....
在 2017年4月17日星期一 UTC-4下午12:16:19,Nour Krichene写道:
Reply all
Reply to author
Forward
0 new messages