bdecentgmbh / moodle-auth_magic

Magic authentication plugin for Moodle
https://bdecent.de/product/magic-authentication/
GNU General Public License v3.0
6 stars 1 forks source link

"A required parameter (key) was missing" #6

Open Buda9 opened 11 months ago

Buda9 commented 11 months ago

Hi @stefanscholz

I'm encountering an issue with a plugin, both on my localhost and the production server. With debugging enabled, I'm seeing the error message "A required parameter (key) was missing," as shown in the attached screenshot from my localhost. I see same error on production server.

Screenshot_119

Did you or anyone experienced a similar issue or has insights into debugging this type of error?

Thank you in advance!

Details: Moodle 4.3+ (20231123) $plugin->version = 2023112400; $plugin->release = 'v1.0.1'; Ubuntu, nginx, hestia cp

frogMauri commented 11 months ago

Hi I have the same issue.

I have no idea how to fix the problem

frogMauri commented 11 months ago

I may have figured out the problem. I tried changing theme, I was using a custom moodle theme.

It sent the email correctly With the classic theme it seems to work.

mudrd8mz commented 2 months ago

I can still reproduce this problem. In my case, I get it when

  1. I use the login page to send the magic link
  2. At the next screen I click Continue link below the green "If you supplied a correct email address ..." message
  3. I attempt to log in via username and password now
mudrd8mz commented 2 months ago

Confusingly, even if the error is shown, the user is still logged in. This can have security impact - the user may believe the login did not work and just leave the computer for example.

Ping @stefanscholz