JASIG CAS: single sign out not working

后端 未结 5 1869
名媛妹妹
名媛妹妹 2021-02-09 06:43

I have single sign on working beautifully, but single sign-out is not working.

The scenario is like this:

  1. Open webapp1 and get redirected to CAS login page
5条回答
  •  悲哀的现实
    2021-02-09 07:15

    I had the same problem. We had a java and a php client. When I went to http://mycasserver/logout only the java client logged out.

    For the single sign out to work in the php client, you have to change:

    phpCAS::handleLogoutRequests();
    

    for

    phpCAS::handleLogoutRequests(false);
    

    And Voila! Refer to the documentation at phpCAS examples

提交回复
热议问题