I have Flarum set up under Grav on the same domain and users are to be restricted to only GitHub logins via their respective OAuth plugins.
How would I integrate the logins between two projects so that when the user logs in via Grav, they're automatically logged in via Flarum?
Could this be done through the Flarum API?