Hi there,
I have an Moodle 2.3 installation at moodle.mydomainname.com with about 2000 users, and a brand new Wordpress installation at mydomainname.com/wordpress/ and I'd like my Moodle users to be able to log in to the Wordpress site using their same Moodle username and password combination.
Ideally this would be a true single-sign-on, where a user can go to either site to login and make updates to their password, etc. The next best option would be to have separate logins but with matching username/passwords.
What are my options?
So far my ideas include:
- external database authentication for both Moodle and WP. If so, how do I get the exisiting user info out of Moodle? How will new users and enrolments be created? How are password hash/salting and password changes handled? I cannot find any information about this on the External DB Authentication page, but maybe I'm looking in the wrong place?
- external database authentication for WP using Moodle's user table - is this possible?
- send WP visitors to Moodle to login then return them to WP once authenticated?
I'm open to suggestions for ways to manage this - as long as users don't have to remember two sets of usernames and passwords, then I'm happy