Hi! 🙂 Would greatly appreciate some help to have these questions answered!
Context:
- Came across Flarum SSO extension.
- I assume that the best way to integrate my Laravel app and Flarum is to install them on separate DBs. But by doing this, this extension will copy the users from my app and post it to Flarum's users.
- OAuth (as per my knowledge now) is out of the picture because the logins aren't instantly done from my Laravel app.
Questions:
So does it cost me any performance issues to keep doing it like that? If so, would installing both apps on the same DB (with Flarum tables prefixed) and/or sharing the users table where no data is copied to anywhere, be quicker?
How safe is it to transfer user data (including emails and passwords) over to the Flarum app by POST
every time a user is created? Would it be more vulnerable to certain attacks?
If neither posting data across DBs, having two tables in the same DB, nor both apps sharing the same tables are far from safe/fast. Is there another way to implement a user sharing system across these 2 apps?