Its possible for them both to have the rinnegan. All that is required is Hagoromo's chakra and they both recieved a portion of it.
They were probably used so his life could be saved. He'll have upgraded visual prowess, but it won't be rinnegan. Hagoromo didn't want anyone to be like him ( have the rinnegan) that's why he made the Uchiha tablet. So it's very unlikely for Sasuke to have it.