Redirection broken on CAS Server > 3.3.5
-
Hi, your plugin works really great, except for one “little” issue. When I logout, my CAS server won’t redirect me back to WordPress. I’m really interested in using your plugin, so I did some research and I found this:
https://wiki.jasig.org/display/CASC/phpCAS+logout
And then this Moodle issue about their CAS auth module.
https://tracker.moodle.org/browse/MDL-27610
I reviewed your code, and figured out that you’re effectively using phpCAS::logoutWithUrl, a deprecated function for CAS Servers > 3.3.5. I replaced that function with phpCAS::logoutWithRedirectService, and it started working flawlessly. As you may expect I don’t want to diverge from your codebase, mainly due to maintenance cost. So, ?Is there any chance you can take a look on it?.
I’m using CAS Maestro 1.0.3, CAS Server 3.4.12 and WordPress 3.9.
Thanks, and keep up the great work.
- The topic ‘Redirection broken on CAS Server > 3.3.5’ is closed to new replies.