How to synchronize data across multiple sites?

Good day to day!
On two sites need to do a broader customer base. Database for each site has their own. Registration/ authorization again at every website should have its own. The decision is necessary for a General system of accumulation of points.
Tell me how can this be done?
August 19th 19 at 23:41
3 answers
August 19th 19 at 23:43
How to synchronize data across multiple sites?
You can use LDAP, single, for authorization and so on. Including the same store points etc. crap.
August 19th 19 at 23:45
3 the base. 1 website and 1 common. Or base 2, but is in the same table user, for example, is used by the second website. There is an important question: sites on 1 server?
August 19th 19 at 23:47
normally this is done with oauth authorization, then you can easily associate the ACCA one person.
either one of the sites creates an oauth server, and the second entrance through it, or on both the entrance through a third-party oauth naprier via VC.

if you check your own, then the question is how do you accounts will be linked manually? automatically comes to mind only on the soap.
in this case, make one site the "main" and its database make the table for points.
the second site will send scores for API and API to read/use.

Find more questions by tags PHPWeb Development