Moodle Authentication from 2nd party application

Moodle Authentication from 2nd party application

by Elshan Akbarov -
Number of replies: 0

I'm developing project with Laravel. This project uses database of the moodle.
You can think this project as a dashboard project in front of the moodle.

Let's call this project Custom LMS for simplicity.

My goal is to authenticate user from Custom LMS using mdl_user table at the moodle database. If credentials are valid user should be logged in both Custom LMS and Moodle.

Users should be able to switch between dashboards without authenticating themselves twice.   


These are what I've done so far.

* User lands to the login page of Custom LMS

* Authenticate himself and logs in to his Custom LMS dashboard

Now, I want user should be able to visit moodle dashboard without authentication again at moodle side. I don't how I can do it.

 

Attachment Screenshot from 2020-06-24 12-01-21.png
Average of ratings: -