I’m about to start a human resources web app system. My idea is to have the manager system and the website work with the same database, but make three or more “products” running with the same data. All in PHP and JavaScript.
My question is how can I get an authentication system like Zoho or Google, with one account for all services, and how can i store this. In a single table? LDAP? Which one?
If they’re all on the same domain, then why treat them as one app? Either have a single auth table in your db or use a seperate db called by all three apps.
As for the actual auth system, there are many ways – the one you choose will depend upon your individual requirements.
If you plan on extending the apps provided, it might be worth looking at setting up an OpenID provider for your domain and/or allowing logins from other OpenID providers (like StackOverflow does).