What's the easiest method to make use of a effective WordPress sign-in make an effort to authenticate to some CakePHP application? I'd rather not use password synchronization, if whatsoever possible. I'd would rather keep all the user particulars inside the WordPress database tables. I have been moving this over i believe a few days ago and should not think about a great choice. Any ideas?
Presuming here that you are speaking regarding your own Wordpress install, instead of located Wordpress.
If you are WordPress savvy, you can hack the Wordpress authentication mechanism. I wager you can call a Cakephp URL from inside the Wordpress auth method, posting the required login info to Cakephp. You'd also need to set your Auth systems fields attribute, to ensure that Cake::Auth knows to drag the consumer information in the Wordpress database.
It might work.
It sometimes can not be prevented, but hacking the core of the application that you'll want to patch regularly is certain to create a lot of discomfort. I recommend something similar to OPENID as a substitute.
This can be used Wordpress plug-in: http://wordpress.org/extend/plugins/openid/ to permit OPENID logins inside your Wordpress blog.
You will want simply need to install OPENID support to your CakePHP application authentication routine. This is a tutorial I discovered: http://cakebaker.42dh.com/2008/02/06/new-version-of-the-openid-component/