Abintegro

General plugins (Local) ::: local_abintegro
Maintained by Josh Willcock
Auth Token Authentication and Automatic Login For Moodle Users Into Abintegro
Latest release:
1 sites
1 downloads
1 fans
Current versions available: 1

This is a local plugin which you can install in your Moodle system to enable access to your Abintegro.

This plugin is available for anybody to use and can be configured easily.

Requires:

Moodle 3.0

Install:

Place the contents of this source tree into your Moodle installation so that within your Moodle root, this file is local/abintegro/README. Then visit the Moodle notifications page to install.

Once you have added your settings the plugin will be ready to use. If you need to change these at any time you can find the settings in: Site Administration > Plugins > Local > Abintegro.

Once this has been done you can create a link to: http://mysiteurl.com/local/abintegro/ This can be a text link anywhere in the site or adding a URL resource to any course.

Default permissions allow anybody with a login to access Abintegro, this can be configured so only certain roles are able to. In the event of any error a message will be cleanly displayed advising the user to contact the site administrator.


Screenshots

Screenshot #0

Contributors

Josh Willcock (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Mike Churchward
    Thu, 9 June 2016, 4:57 AM
    Hi. I am beginning the review of your submission for the Plugins Guardians. In the meantime, can you review the coding guideline issues raised in the previous comment and fix as many as possible? Thanks.
  • Mike Churchward
    Thu, 9 June 2016, 5:25 AM
    Hi Josh. I've installed and looked at your plugin. I'm a bit unclear on its total purpose though. From what I can tell, if it is configured completely, any user who has the proper capability will be asked to agree to the terms, and thereafter will send my user id, user email, firstname and lastname to the Abintegro URL. I presume this creates an account on the Abintegro site? Then, it redirects the entire page to the Abintegro site.
    So, is this using Moodle as a login and user management system for the Abintegro site?
    How does someone get the required "secret key" for the plugin settings?
    Is the intent that the Abintegro site will have links back to specific Moodle courses?
    Thanks in advance.
  • David Mudrák
    Fri, 10 June 2016, 2:36 PM

    Thanks Josh for sharing the plugin. We are finally getting to reviewing it. And thanks Mike for the detailed peer-review. I can second Mike's comment, it would help to clarify the purpose of the plugin. Guessing from the code, this implements the SSO identity provider for Abintegro, right? Is there an API documentation for this SSO?

    • I noticed CURLOPT_SSL_VERIFYPEER is set to false. Is there some particular reason for that?
    • just wondering, given the way how you manually construct the API call query string, have you tested what happens if the user's firstname or lastname happens to have characters like & or ?

    For now I am going to approve the plugin as I assume it simply tries to implement the expected API. We will appreciate if you still answer the questions raised during the review. Thanks in advance. You are cleared to land, welcome to the Plugins directory.

  • Josh Willcock
    Wed, 29 June 2016, 5:12 PM
    There were two questions you pitched which was CURLOPT_SSL_VERIFYPEER is false. I personally did not agree with abintegro's approach either, however they explained this was required due to their configuration. I cannot publicly go into more information regarding this, however I have messaged David to explain why this is needed.

    The second question was regarding firstname or lastname having '?' or '&', that is a good point, I assumed (which is never good) Moodle would prevent special characters from being used in a first name or last name, in this case it would create the account successfully or log them in missing the part of their name after (I have just tested). This then is updated on the next login if changed. I will submit a patch to cover this today.
  • Robert Hough
    Tue, 13 Sept 2016, 11:17 PM
    Hi Josh. I am wondering if there is a reason it is only available for Moodle 3.0 - and hoping there will be other versions for older versions of Moodle. We are on 2.9.1
    Thanks
Please login to post comments