Is there a way to share user login sessions between two or more web apps that share a Realm app as their authentication provider?

I have two web apps: one built with React ( and the other Angular ( I use the Email/Password authentication provider of a single Realm app to manage my users. I would like for my users to log in once on either of the web apps and not have to log in again if they happen to go to the other. Is it possible to do that, and, if yes, is there a guide I can use to implement this or to get started?

One option would be to store the password in a shared cookie, but I think that would be pretty risky and you’d want to encrypt it.

Hmm…maybe I can store the access tokens and a refresh token in the cookie instead? Will attempt this next.