Our team has hired freelancers for creating a website. They did their job well, but now we want to add services for our core product using different server and technologies, but we want user identities to remain the same on the website as well as on the mobile application that will be using these services.
Possible solution I can think of:
1) Run these software under same machine with different port using same database.
2) One of these software access database remotely.
3) API between them, but disadvantage is that data may not be consistent between databases.
What is the best solution? Am I missing something?