Sharing users across multiple sites, each on their own database

The easiest thing basedo n the information you provided would be to make Site A part of the Site B multisite network. Then your sites would definitely be sharing the same user table since it is one network.

You can also look into domain mapping to make Site A have a totally different domain name from Site B and it’s subdomains.