We are testing OneDrive file repository and OAuth2 in Modole3.4, this repository is in Moodle core. To setup OAuth2 need to create a “system account” in Office 365 portal.
After setup this, our Moodle user could SSO Modole and O365 via OAuth2 and pick up their file in their OneDrive then add file as "Create an access controlled link to the file" in Moodle course.
When user open the file by click its link in a Moodle course, the file is opened but the name of System account displayed at top of file content. See my screenshot, definitely the System account should not be shown to users.
I guess mybe somewhere i've done wrong or missed when setup this.
Does anyone see this before? Or know how to solve it?