catalyst / moodle-auth_userkey

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.
https://moodle.org/plugins/auth_userkey
81 stars 53 forks source link

Support for versions 3.9, 3.10, 3.11 and 4.0 #65

Closed emisorb closed 12 months ago

dmitriim commented 3 years ago

Theoretically it should just work in 3.9, 3.10 and 3.11. But feel free to submit a patch to check it out.

mubeshersajid1 commented 2 years ago

stdClass Object ( [exception] => webservice_access_exception [errorcode] => accessexception [message] => Access control exception )

getting this error follow all instructions but did not get login url kindly help me my moodle version is 3.11

dmitriim commented 2 years ago

@mubeshersajid1 Hey! it doesn't look related specifically to 3.11. Seems like you haven't set it up Moodle Web services properly.

mubeshersajid1 commented 2 years ago

can you help me to resolve this issue please

mubeshersajid1 commented 2 years ago

my other web services working fine like i am creating user and getting courses detail but unfortunately this service is not working

dmitriim commented 2 years ago

We don't have any clients using this plugin in 3.11, please contact our sales team if you would like to get extra support https://catalyst-au.net/contact-us

mubeshersajid1 commented 2 years ago

thanks

toman92 commented 2 years ago

Are there any plans to support v3.11? I installed this plugin today and I am getting 'Invalid parameter value detected' error message back.

I am using Postman to verify and get a proof of concept before trying it on my app but haven't had any luck.

I have tried enabling it to create the user if the user is not found but this returns the same error message. The full error response is:

{
    "exception": "invalid_parameter_exception",
    "errorcode": "invalidparameter",
    "message": "Invalid parameter value detected"
}

Strangely when I run the query, a cookie is set named MoodleSession.

dmitriim commented 2 years ago

Hi @toman92 No plans at this stage. Feel free to submit a patch as per a list of tasks in this issue or contact our sales team if you would like us to prioritise this work https://catalyst-au.net/contact-us.

miguelurtado commented 2 years ago

Hello this work for me in Moodle 3.11.7 - Check Moodle settings extended characters in usernames and Password policy

Good Lock

dmitriim commented 2 years ago

Ok. Looks like CI is not getting exploded all the way to 4.1. Looks like the plugin should work in all these versions.