-
Improvement
-
Resolution: Done
-
Minor
-
4.0.2
-
-
MOODLE_400_STABLE
-
MOODLE_401_STABLE
-
Moodle App 4.1.0
The use of tokenpluginfile.php seems to not be compatible with certain plugins. We've had reports that it fails with tool_mfa.
A request like this: moodle_site/tokenpluginfile.php/70322f47a5eb9ae53dcc1129458ffd3/121282/mod_page/content/1/mpthreetest.mp3?forcedownload=1&offline=1
Will redirect to: moodle_site/admin/tool/mfa/auth.php
even when the token is correct
There is a callback/hook somewhere that is forcing this redirection for this particular plugin.