开发者

Magento and Moodle Integration

开发者 https://www.devze.com 2023-04-12 18:46 出处:网络
I have a project which requires me to setup an subscription-based online learning site using Moodle. I checked Moodle and it seems that it can handle this by itself. The problem is, the client won\'t

I have a project which requires me to setup an subscription-based online learning site using Moodle. I checked Moodle and it seems that it can handle this by itself. The problem is, the client won't be just selling online courses. He will also be selling books, reviewers, etc.

I figured that Magento would be the best option for selling those items, and keep track of all the sales. I could probably add the online courses as virtual items.

My questions is: Is there a way to fully integrate these two system in terms of authentication and course enrollment?

I mean, would it be possibl开发者_开发知识库e for someone to:

  • Create an account in Magento
  • Buy a course in Magento
  • Go to Moodle site without logging in (single sign-on)
  • Go to the course.


I think is possible with a moderate effort.

Check my plugins (GPL) for moodle2 that let moodle support auth and enrolment based on simplesamlphp software.

With those plugins the "moodle part" is done. You can "provisioning/deprovisioning users on courses on the fly", using the user atribute entitlements sent on the saml assertion.

So you only must to add saml support to Magento and develop the logic to add the entitlements to the auth source that you use in your identity provider when a purchase is done.

Edit:


Unfortuantely it seems there are no extensions that bridge Magento with Moodle. You'll have to develop a module yourself :S


To solve the single sign on(SSO) issue you will have to use simpleSAMLphp.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号