Sharing authentication with another domain

Hello,

I have two apps: a.mydomain.com, and b.mydomain.com. When I login to one app, I would like to also be logged into the other without having to re-authenticate. Is sharing authentication with another domain possible using Okta React or okta-auth-js?