Login Moodle Through Laravel

Login Moodle Through Laravel

by rabiul islam -
Number of replies: 0

I want a single-sign-on feature for moodle from a laravel website.

The workflow will like,

1. User login to Laravel site.

2. Get a link to access moodle.(may or may not the user has no account in moodle).

3. The user will automatically logged into Moodle without having to reenter their username and password.

After login the can be user back to laravel site within a link which will be in moodle site.

What i have to do that? 

Is there anything need in laravel site or moodle site(plugin with configuration) or both?

Please help me anyone.

To do that, I set username and password using curl into login/index.php url but not working.

FYI: I have check several Webservice API like user create, course view and etc. These are working fine.



Average of ratings: -