Drupal Multisite with SSO to Moodle

Events happening in the community are now at Drupal community events on www.drupal.org.
vtitarchuk's picture

After some research and testing, I failed to find a working up to date solution for Drupal multisite with SSO to Moodle.

We have several subdomains with Drupal and one domain with Moodle. We need to have users from Drupal sites to login to Moodle without login in a second time. Also, there is a need for Moodle to use Drupal users.

Would someone publish information on how to deal with this problem, please? Thanks.

P.S. We have are not going to use LDAP solution. The organization is too small to maintain LDAP server. We just need SSO implemented.

Comments

CAS

cfont's picture

Have you considered using CAS?

Could you explain what CAS

c-c-m's picture

Could you explain what CAS is?

Thank you

CAS: Central Authentication Service

cboyden's picture

CAS stands for Central Authentication Service. It's a way of offloading authentication. All of your Drupal and Moodle instances would authenticate against an external service, which validates the usernames and passwords. The external service sends back a notification to your applications that they are who they say they are. So if you have a permission level for authenticated users, all CAS-approved users automatically get those privileges. For more fine-grained control, permissions are handled as usual internally to Drupal and Moodle.

Drupal has a CAS module.

Thanks @cboyden I'm not sure

cfont's picture

Thanks @cboyden I'm not sure I could've said it better myself. I think the CAS module developer has also created a CAS server feature to that module so that Drupal can operate that way rather than just a client. Also know that CAS can be set up to use a database authenticator (since @vtitarchuk said they don't want to use LDAP).

is this of use

CAS ftw

btopro's picture

agree with some form of central authorization. We use systems like co-sign and kerberos to authenticate all systems against. In our setup, you hit a co-sign based service to login to angel and then when accessing aspects of your course in drupal, we have a drupal module (based off of http://drupal.org/project/webserver_auth) that does the same check. Much better solution then constantly writing pass-through authentication stuff between systems.

Authentication Method: Drupal SSO

ronline's picture

Following description this make the trick => Authentication Method: Drupal SSO (for same domain / environment) => http://moodle.org/mod/data/view.php?d=13&rid=4240&filter=1 .

Useful Links: Thanks

sundarrawat's picture

I am also doing the same thing now a days with our Application. The Above link is useful for me.

Thanks Ronline.

e-learning

Hi to everybody, I need to do

Anisorf's picture

Hi to everybody,

I need to do more or less the same thing. I have a Drupal7 from which a user can register and registering to the D7 will make the user registered also to the Moodle 2.x. site "keeping" the same session. Since the above modules or integreations are still for Drupal 6, is there a some otherway for doing this..

Any help and suggestion will be more than appreciate.
Thanks a lot in advance.

CAS

cleaver's picture

I think there is a CAS module for D7. I haven't tried it on D7, but D6 works fine. I recall seeing a CAS plugin for Moodle as well, which should meet your needs.

LDAP + CAS

Anisorf's picture

Thanks cleaver for replaing.
Since i need more information than username and e-mail for a user to be saved and shared for the Drupal and the Moodle , is it a good idea to store all this users info with LDAP, and do the SSO with CAS? If yes, where should i start from :),any article or reference it will be helpful for me i need to see the big picture more clearly.
Thanks in advance.

Integrating Drupal and Moodle

frank ralf's picture

Hi Anisorf,

http://docs.moodle.org/20/en/Integration_FAQ might give you some pointers. However, a lot of the modules are still for Moodle 1.9 and/or Drupal 6 I suppose.

hth
Frank

Hi Frank, the link that you

Anisorf's picture

Hi Frank, the link that you gave me it's good point to start from.
Thanks a lot,
greetings Frosina.

Subscribe to thread.

Lakeside's picture

Subscribe to thread.

Drupal + Moodle + CAS + LDAP SSO help

Anisorf's picture

Hi, i have this situation:
-Ubuntu10.04 VM with
-tomcat6
-apache2 web server with drupal7,
-cas-server-3.0.7 ,i use cas ssl with self-signed certificates
-spring-ldap-1.1.2,
-OpenLDAP: slapd 2.4.21, i use ldap ssl with self-signed certificates
-drupal 7 with the CAS, CAS attribute, LDAP module (all working fine)
- and an another Ubuntu10.04 VM i have a moodle2 whith the correspondent LDAP and CAS modules( which are working fine )

Now I need to make my drupal7 like front-end , and when user logins in drupal it should be loged in automaticaly also into moodle, so i need to configurate my SSO. i'm not sure where to start from,do i need something additional for my apache2 ? . I really need help here.

Thanks in advance.

D7 port of Moodle Integration module

frank ralf's picture

You might try my first shot at porting the Moodle Integration module to D7 (still heavy work in very slow progress, though): Drupal 7 port of Moodle module?

hth
Frank

thank

pironcorp's picture

The topic is provoking . and i use this application
E-learning Company

Drupal in Education

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week