we (my work group) would like to integrate Moodle into a bigger external software (developed in PHP with Laravel).
What we need is to grant an user logged into the "main" website to access Moodle without logging in again.
So what we need to do is:
1) An user logged into the main website should be able to access Moodle without logging in.
The user will have two users (one in each database: main website and Moodle) but he will use just the main user data.
There is a way to pass some info, maybe a token, so Moodle will authenticate the user without him logging in?
Since both systems are on the same server, we would prefer to avoid using Moodle APIs
2) If we hide the login links in Moodle, there's a way for Admins to logging directly into Moodle anyway?
This could be useful if something in the integration goes worng.
I ask this because Moodle doesn't have a backend login (like WP, for example) so if we remove/hide login for the users, the Admins will be unable to log in, too.
3) In case we'll need, for this project, to edit some Moodle file, how can we do this the best way, in regards of still being able to update?
Is there a function in Moodle similar to Joomla's override or Wordpress' child themes?
Thanks in advance for any advice you'll be able to give.