We have two websites with different domain names. One of them is a wordpress site. Both websites have their own authentication system.
For the sake of convenience, it was decided to have a single authentication for both website and making use of session cookies. I searched about it and got to know about Single Sign On. Can anybody tell me how to implement SSO when one of the website is a wordpress site(if this makes any difference)? I would highly appreciate if any help comes.
Easiest way to hide (some) WordPress plugins from users?
Upgrade Wordpress Plugins Remotely
Which wordpress theme framework should I use? [closed]
From the non-wordpress site, you just need to make the login form connect to the wordpress database and check the user-provided credentials.
Is there way to check wordpress logs? Like what actions admin has performed etc?
Wordpress uses an md5 password hash, so make sure you hash the users password with the md5() function before passing it to the database.
Wordpress - how to make an excerpt show on the home page?
Handle the return results as normal..
Redirect referring page after login and template the profile page in wordpress
One note, make sure that your database user has permissions from the connecting host.
WordPress image uploader does not generate thumbnails after permalink change
If both sites are hosted on the same server (and IP), it won't be an issue regardless.
Why should define('RELOCATE',true) be removed from wordpress config?
If not, you need to make sure the database user either has permissions from the second IP or from everywhere ('user'@'%')..