Moodle API Single-Sign-On (SSO)

Moodle API Single-Sign-On (SSO)

by Kevin Lu -
Number of replies: 2

Dear Developers and Experts,

Thank you for reading this thread. My project requires me to develop a single-sign-on page that when the user visits the company website and logs in, the user is automatically logged to Moodle account site (https://lms.mycompany.com/my) as well.

I am looking at several API calls here: https://docs.moodle.org/dev/Web_service_API_functions, but none of them is user confirmation, that is, the user exists and is active in our account network.

Could you provide me with some hints? Or my logic here is not as correct as it appears.

Thank you again!

Kevin


Average of ratings: Useful (1)
In reply to Kevin Lu

Re: Moodle API Single-Sign-On (SSO)

by Paul Raper -

One approach that you might think about is LTI. LTI does require that both sides/applications use it, but it does provide a way for users to login to one application, and then transfer over to the other one.

It may be that someone else has another idea.

By the way, did you take a look at: https://docs.moodle.org/36/en/CAS_server_(SSO)_authentication