[ad_1]
i have multiple laravel wesbites, and i wanted to have one central login system for that.
The idea workflow is:
- User wanted login to “website 1”
- by clicking to “login button” will be redirected to main “central login system” which is on different domain.
- After user login there, then will be redirected back to the “website 1”
- After user login there, will get also acess to all websites, which means this:
I will create some button with dropdown (like google has), in the dropdown will be all websites logo with links. So user can go to any site like “website1,website2 etc..” and will stay still logged (befor not logout) - for the main central login system, i have some nice laravel script which is created exacly for my needs, it is an user management system, where can users register, login, reset pass, remember feature there, social login, etc…all main things about user management. This system wanted use as the Central Login system, so i think if i need for that idea some of “Common database”, then should be used not new database, but the current “central login system database”.
Anybody has idea how to this please? Realy thank you for any reply, because its important for me. Without having this, cant go live with any website separatelly, because this is required (because have multiple websites). Sure someone know what to do.
I find this link:
Two laravel projects have three databases
There something about that, but its not correct for me exacly, because:
1/ i am not developer, but i know basics
2/ the man who did this question, dont specified what he did inside the common database.
Best regards everyone.
Thank you REALY
[ad_2]