Authentication: User key authentication

auth_userkey
Maintained by Picture of Catalyst ITCatalyst IT, Picture of Dmitrii MetelkinDmitrii Metelkin, Picture of Brendan HeywoodBrendan Heywood, Picture of Marcus BoonMarcus Boon, Picture of Adam RiddellAdam Riddell
Log in to Moodle using one time user key based login URL. Auth plugin for organising simple SSO (single sign on) between moodle and your external web application.
656 sites
527 downloads
39 fans

Log in to Moodle using one time user key.

Auth plugin for organising simple one way SSO(single sign on) between moodle and your external web application. The main idea is to make a web call to moodle and provide one of the possible matching fields to find required user and generate one time login URL. A user can be redirected to this URL to be log in to Moodle without typing username and password.

The plugin supports user provisioning.


Using

Read plugin documentation.

Screenshots

Screenshot #0

Contributors

Picture of Catalyst IT
Catalyst IT (Lead maintainer)
Picture of Dmitrii Metelkin
Dmitrii Metelkin
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Nilesh Pathade
    Sun, May 26, 2019, 7:33 PM
    HI I am using same plugin, but after getting loginurl, I am unable to redirect.

    redirect(getloginurl());

    It's not working please help me
  • Picture of AMC Academic Moodle Cooperation
    Tue, Jun 4, 2019, 4:14 PM
    Hey Steve, have you resolved your issue or did you get any response from the developers of the plugin. We would like to use the plugin for our newest 3.6 Moodle version.
    Any recommendations on how to proceed?
    Thanks - Kasia
  • Picture of Promise Ogechi Izuagbala
    Sun, Jun 9, 2019, 8:12 AM
    Hello Team. Thanks for the wonderful plugin. I made a mistake of installing the plugin on my production server and my moodle site stopped working. As a debugging step I want to uninstall the plugin but I can find any instruction online that shows how to uninstall the plugin. Please urgent help will be appreciated.
  • Picture of Upendra M
    Mon, Jun 17, 2019, 8:09 PM
    I am not able to update user key plugin config data. during plugin installation it saves the data but next time during config data update it never update the data.
  • Picture of Marini Marini
    Tue, Jul 9, 2019, 7:43 PM
    Hi good morning,
    It is posible pass the field city or a custom field?
    thanks
  • Picture of Dmitrii Metelkin
    Wed, Jul 10, 2019, 5:39 AM
    Hi Marini,
    In the current implementation it's not possible to pass the field city or a custom field. But feel free to submit a feature request in github https://github.com/catalyst/moodle-auth_userkey/issues
  • Picture of Pär Brink
    Fri, Dec 13, 2019, 10:31 PM
    We are using auth_userkey on Moodle 3.5.2+. However, our users are promted to forced change of password.
    I saw some previous comments with the same issue, but no solution.
    Is this a known issue and is there a solution for it?

    Thanks!
  • Picture of Dmitrii Metelkin
    Mon, Dec 16, 2019, 5:59 AM
    Hi Pär Brink
    Please make sure you use the latest version of the plugin. The best way to get this looked at is to raise an issue in github https://github.com/catalyst/moodle-auth_userkey/issues Make sure provide full steps to replicate it the issue.
    Cheers,
    Dmitrii
  • Picture of Juan Duque
    Sat, May 23, 2020, 5:17 AM
    From this plugin can you update the extra fields?
  • Picture of Catalyst IT
    Mon, May 25, 2020, 7:47 AM
    Hi Juan!
    You can't do it currently, but there is a pull request currently in progress that potentially can bring this features. See https://github.com/catalyst/moodle-auth_userkey/pull/44
  • Picture of Juan Duque
    Fri, May 29, 2020, 5:31 AM

    Ok, I'll be waiting for when this update is released.

    Thanks for the reply.
  • Picture of Juan Duque
    Thu, Jun 18, 2020, 10:02 AM
    The log out system is only executed by entering the logout url of the userkey. Is there no way to logout how to login userkey?
  • Picture of Dmitrii Metelkin
    Thu, Jun 18, 2020, 10:11 AM
    Hi Juan! Not sure if I understand your question. There is a logout functionality described in README https://github.com/catalyst/moodle-auth_userkey/blob/MOODLE_33PLUS/README.md Basically you can use "Redirect after logout from Moodle" setting to logout users from your App when they logged out from Moodle. From the pother end, you can use logout URL functionality to logout users from Moodle when they log out from your APP. So you redirect them to url like http://yourmoodle.com/auth/userkey/logout.php?return=www.your_app_page_after_logout.com Hope that makes sense.
  • Picture of Juan Duque
    Thu, Jun 18, 2020, 10:19 AM
    Yes, I understand that functionality. But it can only be used by entering the url exposed by the plugin and redirecting it to where the return parameter is.

    Is there a way that I can log out from a use of the service, without having to send the person to moodle in the browser?
  • Picture of Dmitrii Metelkin
    Thu, Jun 18, 2020, 10:25 AM
    hey Juan, Please raise an issue in github https://github.com/catalyst/moodle-auth_userkey and try to explain your case in more details.
1 2 3
Please login to post comments