I'm the owner of a website (let's say www.domain1.com) and I'm working with a couple of customers who have access to my website with a login and a password. One of them told me about the SSO. He also has a website (www.domain2.com) where the users have to login. He would like to have a button on his site, when a logged user clicks on it, it redirects the user to my website and he doesn't need to log in again.
Could you please tell me if SSO with OAuth2 can be used to do this, and if yes, how ?
I've read this tutorial but I don't think it's what I'm looking for - or maybe I didn't understand the tutorial