Moodle login integration in other source Introduction
Â When we need Moodle integration in any site to use some functional part of Moodle like Quiz for that we have to create Single sign on between both platforms. For that we have to create alternative login to Moodle and disable the direct login functionality in Moodle.
How to add alternative login page to Moodle?
If you donâ€™t want to use Moodle login page and want to create your own. Or want to integrate Moodle login in your site then follow the following steps.
1. Create login form which has Moodle login page URL in action.
Ex. <form action=â€<your Moodle site root>/login/index.phpâ€ method=â€postâ€></form>
2. This form must contain at least two text field username and password.
3. Now login to your Moodle site as admin and go to
Site administratorÂ -> PluginÂ -> Authentication -> Manage authentication.
Type or just paste your new login page URL in alternative login text box and click on save changes button.
Now anyone click on login link will be redirected to login page which you created and after filling it with correct credentials he will login to your Moodle site .So direct login to your Moodle site is disabled. Now you have to create login for Moodle administrator.
This process will help you to integrate Moodle with other platforms like Joomla, WordPress etc and use Moodle functional parts like on line learning, quiz and assignments.