I have a client that will develop two applications of your company, that is, two services offered by your company, and plans for other projects, and mobile versions thereof.
Well, for the sake of modularity of the design and ease of development of future applications, we abstract the entire process of authenticating applications for a single authentication / login service.
How to make all user interaction with your account, login, logout, update data, take place in a single place, on a server and database apart, leaving the server of each application free and busy only What do you really care about?
The architecture we are going to use is to share a memcached server as session handler for applications and authentication server, the servers will be in the same VPC on AWS