aMember authentication plugin not working for Moodle

Discussion in 'Integration' started by jaigupta, Jan 1, 2009.

  1. jaigupta

    jaigupta New Member

    Joined:
    May 31, 2008
    Messages:
    2
    I installed aMember's Moodle plugin but it's authentication part is not working for Moodle.

    When I login in amember I am automatically logged in Moodle but I am not able to login directly in Moodle. If I try to login directly in Moodle it gives me "Invalid login, please try again" error.

    I am using Moodle 1.9.2 and latest version of aMember.

    Any suggestions?
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Hi mmonroe,

    First off, unprotect any Moodle related folders (ie. start over) and make sure you are using the latest version of the aMember -> Moodle plugin, available free here:

    http://www.amember.com/p/Integration/Moodle/

    Secondly, full set of documentation is available here:

    http://www.puchemistry.org/testing/moodle_integration.pdf

    Lastly, if you are still running into issues (or even if you are not) I suggest checking out eFront a modern Moodle alternative. It is also open source and is much simpler to integrate with aMember and use in general:

    http://www.amember.com/forum/showthread.php?t=8632
  3. gswaim

    gswaim CGI-Central Partner

    Joined:
    Jul 2, 2003
    Messages:
    641
    Just wanted to reiterate what Skippy said. Make sure you are using the latest plug-in and follow the documentation explicitly. The link in my signature is to a Moodle site integrated with aMember. It is using the latest Moodle and aMember version like you are trying to do. So, it will work.

    Just a few pointers on this integration:

    Don't Protect any Moodle Folders
    With this integration you are not using the folder protection scheme. You are using aMember to handle Moodle registration, user authentication, and course enrollment externally. In my installation I have Moodle installed in /public_html/moodle and aMember installed at /public_html/amember. aMember only "touches" Moodle through the plug-in.

    Moodle Configurations / File Edits
    There are a few changes you must perform on Moodle and they are well documented. These are mainly configurations. The most common configuration that most people get crossed up on is the "Course Enrollable = No" in the course settings. This is necessary so that Moodle cannot enroll a student, because enrollment is now controlled by aMember. Outside of configurations and language file edits there is only one core file that is edited (one line of code) to support the simultaneous logging out of aMember and Moodle. This mod is also well documented.

    Post back if you are having any more problems and we will try to get this going for you.

    Good Luck!

Share This Page