CAS Authentication Multisite
-
For anyone trying to get this to work in Multisite, took me several hours but finally figured it out.
In ‘cas-authentication.php’ on or around line 254, you need to change the “action” in the form tag to look like this:
action="<?php echo get_option('siteurl') . '/wp-admin/options-general.php?page=' . basename(__FILE__); ?>&updated=true"
If you don’t do this, it will only ever save the CAS options for the main blog site and not other sites. Once you do this, it will save it to each individual site.
I also had to follow the instructions in the following thread to get the authentication to work at all. https://www.ads-software.com/extend/plugins/cas-authentication/
Hope this helps someone!
- The topic ‘CAS Authentication Multisite’ is closed to new replies.