A2FA (Another 2-Factor Auth)

Authentication ::: auth_a2fa
Maintained by Sam Battat, Jérôme Mouneyrac
Two-factor authentication method. Using Google Authentication mobile app
Latest release:
162 sites
69 downloads
26 fans
Current versions available: 2

This plugin is to allow users to have 2-step authentication. It uses time-based tokens that expire every 60 seconds. This plugin uses Google Authenticator app to get the tokens. You should enable this plugin for enhanced security of your site!

Screenshots

Screenshot #0
Screenshot #1

Contributors

Sam Battat (Lead maintainer)
Jérôme Mouneyrac
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Victoria K
    Tū, 24 Pou 2020, 8:24 PM
    Hello, I was able to get the plugin working but I do have a question. Does anyone know how to get the login page to look like the default login page for my theme (currently using Boost)? It looks like its importing the colors from my scss template but the login is awkwardly positioned to the left rather than the default center. Any suggestions would be much appreciated.
  • Andriy Semenets
    Tū, 12 Hara 2020, 8:35 PM
    I have tried to use this plugin on Moodle 3.8.1 but it does not working properly.
    1. I followed instructions on https://github.com/hbattat/moodle-a2fa for installing and configuration.
    2. Nothing displayed in user's profile field https://www.screencast.com/t/kSelyGPWKEku
    3. Login page looks like https://www.screencast.com/t/dRTMqnncO Token - nothing
    4. On login - nothing rather than https://www.screencast.com/t/hX1iw4BTq
  • Leslie Huang
    Tū, 19 Hara 2020, 2:56 AM
    Hi Same and everyone!
    It is a great plugin! I have a question: For all the existing users, instead of asking each user go into profile to generate the secret code, is there a way to generate the secret code in batch, so we can email it to each user?
    Thanks.
  • Ahmed Gamal
    Tū, 2 Pipi 2020, 8:55 PM
    I have a problem when trying to install the plugin
    I downloaded the plugin and put it in the auth folder after that when back to my site a message appear to me that apache http server has stopped working .
    if I delete the plugin everything works fine
    any solution?
    thanks
  • Alessandro Pagano
    Apa, 8 Hōngo 2020, 12:04 AM
    With this plugin the Change Password in Moodle does not work. It says "A required parameter (token) was missing" . I can't enter the token in the change_password.php page. How to solve ? Thank you in advance!
  • Scott Brim
    Tap, 12 Hōngo 2020, 6:31 PM
    Just wondering if you plan to do an update in the near future.
  • Ken Farrimond
    Tū, 27 Pae 2021, 10:32 PM
    Hi Everyone,
    My organisation was involved in funding the last update of this plugin. I have been in touch with Jerome who did this work, but I cannot contact Sam Battat. We particularly used this to provide more secure logon for administrators on sites with open access, but we found that the interaction between multiple authentication methods in newer versions of Moodle mean that an administrator can sometime log on by a less secure method, even if they have 2 factor set up.
    The functionality of this plugin has now been replaced by “Multi-factor authentication” plugin available here https://moodle.org/plugins/tool_mfa and this implementation does not have the same limitations and indeed has a lot of extra funtionality.
    Thanks to Sam for originally creating this plugin and to Jerome for updating it, and to the creators of mfa for taking this further forward still.
    Ken
  • Martin Biermann
    Hin, 27 Pou 2023, 4:16 PM
    I used this plugin on our Moodle server until recently, but it no longer supports Moodle 4.1.x. I recommend using https://moodle.org/plugins/tool_mfa instead.
    But thanks for this module! It has helped us secure our server for 5 years.
  • Ken Farrimond
    Hin, 27 Pou 2023, 4:21 PM
    @Martin Biermann Like many good plugins, they eventually find themselves taken into Core Moodle is some shape or form.
  • Martin Biermann
    Hin, 27 Pou 2023, 10:51 PM
    I agree. This illustrates the power in moodle. Then new plugin for multifactor authentication is a superset of auth_a2fa that has taken things to a new level. But without auth_a2fa tool_mfa probably wouldn't exist. Anyway - thanks a lot to the developers and the entire community that keeps Moodle LMS going.
  • Sam Battat
    Hin, 27 Pou 2023, 11:02 PM
    Wow, it has been years since I first wrote this plugin, I just happened to see the latest conversation on this.

    I am sorry I had to abandon this, but very happy it helped someone securing their Moodle smile

    I will probably be retiring this since there is a more updated version
  • Martin Biermann
    Tū, 28 Pou 2023, 12:25 AM
    Dear Sam, Thanks a lot for your plugin. It saved our server until some weeks ago, when I suddenly got a problem with Apache httpd (never had this before) and had to start running my moodle under nginx. From then on I had problems, but I discovered that my Moodle too new to be supported by a2fa anyway. Anyway - Thanks a lot for your help.
  • cesare capobianco
    Tū, 25 Pae 2023, 6:25 PM
    I am unclear: is this plugin definitely not working with moodle 4.1 or is it unsupported? Thanks and please excuse my poor moodle understanding
  • Ken Farrimond
    Tū, 25 Pae 2023, 8:33 PM
    Hi Cesare - The functions of this plugin are now all covered by this other plugin which is better integrated to Moodle core https://moodle.org/plugins/tool_mfa As such the plugin is no longer supported and we see no reason to even test it on Moodle 4.1.
    Ken
  • cesare capobianco
    Apa, 26 Pae 2023, 1:01 PM
    Many thanks Ken. Appreciated
1 2 3 4
Please login to post comments