the company I work has assigned me the task to create a system to login in every of the company products. These products are in different domains.
We want it to be like google. When we login to our mail account, we are automatically logged in in google+, google docs, youtube, etc.
The idea is to have a main application in Java, were all others, in PHP, would login to. Everytime a user goes to another company site, it will check the main application to see if a login has been made or to login that user. I was thinking about doing this with OAuth but as I read further I’m beggining to think that OAuth was not created for this.
How can I do this? Is there any example/library available on the web?
Thank you.
The term you’re looking for is Single Sign On. One way to do this is using SAML.