Authenticate WordPress Site through another WordPress installation?

Hook into wp_login and use oAuth from the rest-api to validate against the other site. I’m sure keeping the user info the same between the two sites would be tough though