Richard
Forum Replies Created
-
Forum: Plugins
In reply to: [CAS Authentication] to make CAS Authentication working for WordPress 3.4.1Forgot to mention:
the size is about 14K, and phpCAS is not included.
Only cas-authentication.php, gpl-2.0.txt, readme.txt.
Forum: Plugins
In reply to: [CAS Authentication] to make CAS Authentication working for WordPress 3.4.1Hi Andre,
I tried to upload to this website, using the name cas-authentication, but it says the name already exists.
However, you can download from here:
https://edmedia.otago.ac.nz/cas-authentication/cas-authentication.zip
Good luck.
Cheers,
Richard
Forum: Plugins
In reply to: [CAS Authentication] to make CAS Authentication working for WordPress 3.4.1Glad it worked for you.
Forum: Plugins
In reply to: [CAS Authentication] to make CAS Authentication working for WordPress 3.4.1??
Forum: Plugins
In reply to: [CAS Authentication] to make CAS Authentication working for WordPress 3.4.1I think you are very close, just need more luck …
This plugin disabled password field, if you want to enable it, you can change the plugin code, search for function show_password_fields, return true will enable it.
For me, if I enable the plugin, I can login via CAS without any problem. Sorry, but, did you make the changes to CAS authentication plugin, as I posted above?
And maybe you are using a different version of wordpress or phpCAS?
Forum: Plugins
In reply to: [CAS Authentication] to make CAS Authentication working for WordPress 3.4.1Hi BLLuten,
From your post, I can tell:
1. your CAS is working
2. the plugin is workingthings to check:
in CAS Authentication settings, make sure the CAS.php path is correct. For example, mine is /var/CAS-1.3.1/CAS.php
if “Auto-register new users?” is off, make sure you login with an existing user, that means before activating this plugin, create a new user with the username you are going to login through CAS.
Happy to help, good luck.
Forum: Plugins
In reply to: [CAS Authentication] to make CAS Authentication working for WordPress 3.4.1What’s your CAS version?
I am using CAS 3.4.11.Also the version of phpCAS?
I am using phpCAS 1.3.1.Did you get redirected to CAS?
Can you login?Forum: Plugins
In reply to: [CAS Authentication] to make CAS Authentication working for WordPress 3.4.1changes I have made:
line 64:
add_filter(‘authenticate’, array(‘CASAuthentication’, ‘authenticate’), 10, 3);
line 85:
function authenticate($user, $username, $password) {
line 121:
return $user;
I managed to make this plugin working with WordPress 3.4.1, so let me know if you want to know how.