Moodle plugins directory: Elcentra Social Login | Moodle.org
Elcentra Social Login
Authentication ::: auth_elcentra
Maintained by elcentra admin
Updated! This plugin gives you an easy way of letting your users login through their Facebook, Twitter, Google, LinkedIn and VKontakte (New!) accounts.
Latest release:
39 sites
10 downloads
27 fans
Current versions available: 1
Once installed and configured, this plugin offers a hassle free method for Admins & end users. Accounts get created without any additional action from the admin.
Elcentra Social Login authenticates via:
- Facebook
- Twitter
- Google
- LinkedIn
- VKontakte (New!)
Contributors
elcentra admin (Lead maintainer)
Please login to view contributors details and/or to contact them
The second issue I noticed in givng the code a quick look is that it requires modification of core Moodle files which technically makes it a patch rather than a pure plugin. If it is to be shared with the Moodle community in its current form it would need to be moved out of the authentication area into the other category.
It would seem to me that you might be able to use the loginpage_hook function to avoid having to patch the login_form.html file. I would suggest taking a look at the CAS authentication plugin to see how they implemented it but it looks similar to what you are trying to do. You could even verify which of the social platforms have been setup and just display the buttons for those and that would give site admins control over which of the social sites they want to grant access too. I could see where this could be helpful when there is a tighter integration with Google Apps.
Also, because it deals with authentication, possible creation of accounts, etc. I would want to take some time to have the code more carefully reviewed. One minor detail I noticed as ^M at the end of some of the lines. Make sure the files are utf8 encoded to avoid those.
I also encourage maintainers to provide the source control, issue tracker and documentation URLs for the Useful links section. Thanks for providing the screenshot as that helps folks see what it will look like.
For now, I am going to mark this entry as needing more work until these issues are resolved. Please do not hesitate to let me know if there is anything I can do to be supportive of your efforts.
Peace - Anthony
Hi,
Based on your feedback, we have updated the application. Please check the
comments below. I have included your comments and our replies to the same so
that it would be easier for you to track.
>>> In order to properly review this plugin we need to know for which version
it is intended to be used. The current version available for download does not
specify the version of Moodle.
We have now specified the version of moodle that supports the plugin.
>>> The second issue I noticed in givng the code a quick look is that it
requires modification of core Moodle files which technically makes it a patch
rather than a pure plugin. If it is to be shared with the Moodle community in
its current form it would need to be moved out of the authentication area into
the other category.It would seem to me that you might be able to use the
loginpage_hook function to avoid having to patch the login_form.html file. I
would suggest taking a look at the CAS authentication plugin to see how they
implemented it but it looks similar to what you are trying to do. You could
even verify which of the social platforms have been setup and just display the
buttons for those and that would give site admins control over which of the
social sites they want to grant access too. I could see where this could be
helpful when there is a tighter integration with Google Apps.
Basically this really did not require modification to the core files. We wanted
the user to add a few buttons to the theme in the place of their choice. But
since you wanted it to be more user friendly, we honour it and we have made
better provisions.
- The plugin will find the login form and will append the buttons on its
own.
- This behaviour can be disabled by appending the buttons inside a
specific div
- The entire appending can be disabled by which the user can add the
buttons to locations of their own choice.
>>> Also, because it deals with authentication, possible creation of accounts,
etc. I would want to take some time to have the code more carefully reviewed.
One minor detail I noticed as ^M at the end of some of the lines. Make sure the
files are utf8 encoded to avoid those.
We have now updated all the files in utf8. Please let us know the name of the
file if you still find any problems with one of the files.
>>> I also encourage maintainers to provide the source control, issue tracker
and documentation URLs for the Useful links section. Thanks for providing the
screenshot as that helps folks see what it will look like.
We will comply this in sometime after the plugin is authorized and gets
published. Till then, we will hear to the user's comments manually and will
maintain codes clearly.
We are eager to see this in Moodle plugins site soon.
Thanks for your update
- regarding the supported moodle versions, you need to look at the 'download versions' tab and edit both versions (or at least one) there. you can then select moodle supported versions there.
- btw, i saw some use of $_GET['state'] in some files which is sometimes a security concern, there is already use of optional_param() though so i leave this to you.
- add a issue tracker or if you need , we can create on in
http://tracker.moodle.org/browse/CONTRIB for this plugin. This is to have a proper place for users to report issues instead of here. in comments.
- have you seen the other auth ones? there is auth_googleoauth2 and
auth_linkedin , you could consider contributing to that too as there seems to be quiet an overlap
- the readme still mentions code to be copied
Let us know your comments
But we have missed this update in the readme.txt file. Thanks for pointing this out . We will update this very shortly.
And for users who copy this code, you can see that all it contains is 4 tags that have their src's in the same website of the user. So we aren't doing any kind of tracking stuffs
Thanks again for all your assistances
We believe we have fixed all your reports and answered your queries. I am interested & eager to see this plugin go live. Please feel to let us know in case we have missed any.
Thanks
Thanks for addressing so many issues.
ps: https://moodle.org/plugins/view.php?plugin=auth_googleoauth2 is very similar (twitter support seems to be the difference). It seems technically feasible that these are merged, so please have a look and consider.