Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Several sites on multiple servers in 2 data-centers. How would one approach implementing unified user login?

Tags:

php

Several sites on multiple servers in 2 data-centers.

How should one approach implementing shared users database, shared way for users to login into those sites so there would be no need to keep separate users database on each server?
Is creating some web-service a way to go? Like some REST endpoint over https? or some oauth authentication is the right way?

Advice wanted:)

like image 486
Dannyboy Avatar asked Jan 18 '26 00:01

Dannyboy


1 Answers

Creating Api either rest or SOAP is best way to implement unified user login i would have write this i comments but cant comment till reputation is 50

like image 197
rakimo Avatar answered Jan 19 '26 12:01

rakimo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!