{"id":4913822,"date":"2014-05-14T10:39:53","date_gmt":"2014-05-14T10:39:53","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/redirection-broken-on-cas-server-335\/"},"modified":"2016-08-21T20:33:49","modified_gmt":"2016-08-21T20:33:49","slug":"redirection-broken-on-cas-server-335","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/redirection-broken-on-cas-server-335\/","title":{"rendered":"Redirection broken on CAS Server &gt; 3.3.5"},"content":{"rendered":"<p>Hi, your plugin works really great, except for one &#8220;little&#8221; issue. When I logout, my CAS server won&#8217;t redirect me back to WordPress. I&#8217;m really interested in using your plugin, so I did some research and I found this:<\/p>\n<p>https:\/\/wiki.jasig.org\/display\/CASC\/phpCAS+logout<\/p>\n<p>And then this Moodle issue about their CAS auth module.<\/p>\n<p>https:\/\/tracker.moodle.org\/browse\/MDL-27610<\/p>\n<p>I reviewed your code, and figured out that you&#8217;re effectively using phpCAS::logoutWithUrl, a deprecated function for CAS Servers &gt; 3.3.5. I replaced that function with phpCAS::logoutWithRedirectService, and it started working flawlessly. As you may expect I don&#8217;t want to diverge from your codebase, mainly due to maintenance cost. So, \u00bfIs there any chance you can take a look on it?.<\/p>\n<p>I&#8217;m using CAS Maestro 1.0.3, CAS Server 3.4.12 and WordPress 3.9.<br \/>\nThanks, and keep up the great work.<\/p>\n<p>https:\/\/wordpress.org\/plugins\/cas-maestro\/<\/p>\n","protected":false},"template":"","class_list":["post-4913822","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4913822","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4913822\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4913822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}