Flarum doesn't have multi-site support out of the box.
It's something an extension could implement, but I don't think such an extension exists at this time.
Two different Flarum installs can coexist in a single database with separate prefixes, but they will act like independent apps, so no different from using two different databases.
Just re-using the users table across two separate Flarum installs would lead to lots of issues regarding events, notifications and features added by extensions.
If the goal is only for password reuse and/or global sign in, a combination of a Laravel app + the Passport auth extension + some custom code for syncing users + custom code to apply global cookies could be used to make another app the authentication server and delegate Flarum installs to just oauth clients of the login app.