Authentication: LenAuth

auth_lenauth
Maintained by Picture of Igor SazonovIgor Sazonov
LenAuth is a plugin for easy OAuth authorize methods via social networks: Facebook, Google, Yahoo, Twitter, VK, Yandex, Mail.Ru. Easy integrate methods to Moodle theme and a lot of settings.
137 sites
73 downloads
28 fans
Current versions available: 1
Just some steps to make easy authorize method: Configure social networks OAuth applications, setup plugin settings, select buttons skin, integrate code to your current Moodle theme.


Installation

1. upload plugin to /auth/lenauth

2, update Moodle with this new plugin

3. activate the plugin at Site administration -> Plugins -> Authentication -> Manage authentication

Plugin docs at Russian language (English docs link at "Useful links" block)

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Picture of Igor Sazonov
Igor Sazonov (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Vassilis K
    Thu, Feb 9, 2017, 6:02 AM
    I tried to make this plugin work, again after some weeks. I am confused. First of all, I cannot find anything in the documentation about what I should put at "Valid OAuth redirect URIs" that facebook app asks. The first time I tried the plugin I think I had found the URL somewhere. Anyway, it didn't work then, and now it doesn't work giving the message "Empty Social UID". Please help...
  • Picture of Charan Sri
    Thu, Feb 9, 2017, 1:58 PM
    I am getting the error "auth_lenauth/Empty Social UID". Please help me
  • Picture of Dmitriy Gorodkov
    Wed, Mar 1, 2017, 3:55 PM
    не показывает статический html код! версия moodle 3.2 может из за этого, но скорее всего это просто ваш баг.
  • Picture of Igor Sazonov
    Wed, Mar 1, 2017, 3:58 PM
    Vassilis K, Charan Sri, Dmitriy Gorodkov thanks for issues. I will do all work at this weekend.
  • Picture of Emanuele Aloi
    Thu, Mar 2, 2017, 12:18 AM
    Hello Igor,

    For an Academic Research, I'm trying to find a way to ask users permission to view their "facebook likes". Until now it seemed to understand that it must necessarily use Graph API.
    This plugin could help me in any way?

    thank you,
    Ema
  • Picture of Tâm Nguyễn
    Sat, Mar 18, 2017, 12:21 AM
    Hello Igor
    My Moodle version is 3.2.2+ (Build: 20170316). I got these errors when I created static HTML code:
    Coding problem: $PAGE->context was not set. You may have forgotten to call require_login() or $PAGE->set_context(). The page may not display correctly as a result
    line 490 of /lib/pagelib.php: call to debugging()
    line 817 of /lib/pagelib.php: call to moodle_page->magic_get_context()
    line 1435 of /lib/weblib.php: call to moodle_page->__get()
    line 9 of /auth/lenauth/htmlcode.php: call to format_string()

    ( ! ) Warning: get_called_class() called from outside a class in /var/www/html/home/auth/lenauth/out.php on line 8
    Call Stack
    # Time Memory Function Location
    1 0.0014 368120 {main}egg .../htmlcode.php:0
    2 0.0403 2587552 include_once( '/var/www/html/home/auth/lenauth/out.php' ) .../htmlcode.php:12
    3 0.0404 2587552 get_called_class egg .../out.php:8

    I don't know how to fix it. Please help me. Thanks so much.
  • Picture of Tâm Nguyễn
    Sat, Mar 18, 2017, 12:25 AM
    Errors when I clicked on Facebook Icon on my website:
    ( ! ) Notice: Undefined index: id in /var/www/html/home/auth/lenauth/auth.php on line 779
    Call Stack
    # Time Memory Function Location
    1 0.0037 369448 {main}egg .../index.php:0
    2 0.0320 2309216 auth_plugin_lenauth->loginpage_hookegg .../index.php:90

    ( ! ) Notice: Undefined index: email in /var/www/html/home/auth/lenauth/auth.php on line 780
    Call Stack
    # Time Memory Function Location
    1 0.0037 369448 {main}egg .../index.php:0
    2 0.0320 2309216 auth_plugin_lenauth->loginpage_hookegg .../index.php:90

    ( ! ) Notice: Undefined index: first_name in /var/www/html/home/auth/lenauth/auth.php on line 781
    Call Stack
    # Time Memory Function Location
    1 0.0037 369448 {main}egg .../index.php:0
    2 0.0320 2309216 auth_plugin_lenauth->loginpage_hookegg .../index.php:90

    ( ! ) Notice: Undefined index: last_name in /var/www/html/home/auth/lenauth/auth.php on line 782
    Call Stack
    # Time Memory Function Location
    1 0.0037 369448 {main}egg .../index.php:0
    2 0.0320 2309216 auth_plugin_lenauth->loginpage_hookegg .../index.php:90
  • Picture of Alosies George
    Tue, Mar 28, 2017, 5:06 PM
    Hi,

    I went through the documentaton and set the plugin. But I am getting the following error. Can someone help

    auth_lenauth/Can not get access for "access_token" or/and "expires" params after request
  • Picture of Boris Malysh
    Mon, Apr 3, 2017, 3:16 PM
    Hello, Igor!

    First, I want to thank you for the plugin. It's been great for quite a long time I've been using it. But this morning I got this message: "Can not get access for "access_token" or/and "expires" params after request".
    On the website it's said "This error can occur. It means that the system wasn't able to receive access token from web service it is trying to connect". But nothing on how to deal with the issue.

    Can you please help me out?

    P.S. On the FB app dashboard I've found out that the app API 2.2 is expired, so I made a new app with API version 2.8, but it doesn't work.
  • Picture of Igor Sazonov
    Mon, Apr 3, 2017, 3:21 PM
    Hi guys! Really, the plugin functional has to be updated, but we hasnt a lot of time to update it because this is a big work for free plugin and we need to work on paid work for clients.. I promise to look at the plugin at this week, sorry.
  • Picture of Boris Malysh
    Mon, Apr 3, 2017, 6:33 PM
    BIG THANX!!!
  • Picture of David Son
    Tue, Apr 11, 2017, 7:01 AM
    Thank you Igor, i'm having the same issue, I guess i will wait for the update. Would be helpful if someone found any solution, i as well think it has something to do with the API that expired on march 27, never had the same issue before
  • Picture of sergio paiva
    Thu, Apr 13, 2017, 6:40 AM
    Hi Igor Sazonov. Do you have forecast for this error? Also try this .. Thanks.
  • Picture of Laura Mosqueira
    Thu, Mar 14, 2019, 3:10 AM
    Hello Igor,
    There are a new version of this plugin? My Moodle version is 3.4.6.
1 2 3 4
Please login to post comments