Files linked from Googe drive / office 365 fail to load for course teachers when using the official Moodle Mobile application
Steps to reproduce:
- This requires a moodle course with two teacher accounts.
- Log into the course as teacher1 and add a file resource. (For the file use any google spreadsheet and choose "Create an access controlled link to the file")
- As teacher2 log into the Moodle course via the mobile application (I was using Moodle Desktop for OSX v3.4.1, but it also fails on IOS)
- As teacher 2 click on the newly added file resource.
Expected result: You should be redirected to a browser to view the document.
Actual result: JSON ERROR:
"error": "Unsupported redirect detected, script execution terminated",
NOTE: it works correctly with student users.