[wp-hackers] Single Sign-on

Pixline › Paolo Tresso supporto at pixline.net
Tue Mar 3 00:39:38 GMT 2009


> Wordpress uses a cookie only authorization scheme, so, upon  
> authentication, the external app would just have to set the proper  
> cookie, and you'd be good to go.
> A good starting point would be looking at the wp_set_auth_cooke()/ 
> wp_clear_auth_cookie() functions and the methods that they use.


A good example is this plugin:

http://wordpress.org/extend/plugins/external-database-authentication/

I'm actually using it as a base for another project, and it's quite  
handy.
Also, have a look in what's in wp-includes/pluggable.php.


Regards,
Paolo/Pixline


More information about the wp-hackers mailing list