I have an existing website written is Perl and have recently added a WordPress blog and BBPress forums. Each of the three systems has its own login mechanism.
To make this a little cleaner I have integrated WordPress and BBPress to enable single sign-on between the two systems which works great. I now want to take the next step and integrate things further so that when someone registers with our site our Perl scripts create a new WordPress user, a new BBPress user (if necessary) and logs the user into all three systems.
Also, when a user returns to the site, I'd like to log them back into all three systems. I'd appreciate any advice on how to best accomplish this.
Why not use LDAP or similar to unify the login, rather than create lots of accounts?