I am operating Moodle together with OwnCloud, and recently updated the OAuth 2 plugin in OwnCloud to a newer version. However, since then, Each time I try to authenticate from Moodle I receive the following error:
error/Could not upgrade oauth token
Has anyone else had this problem?
It will be a total pain if I have to delete the pairing in Moodle, and reconfigure it all again.
Thanks,
Paul
So ok, I have tried to configure this on several platforms, and using different OwnCloud instances, it refuses to connect at present. Could there be a bug in the OAuth2 configuration file in OwnCloud?
what i’m missing here is basic information like used versions of the ownCloud server and the clients. I think those are absolutely mandatory information everyone should try to provide.
tom42, everything is the very latest version of software and plugins, but I’ll post that information.
OwnCloud is 10.0.9
Oauth2 version 2.0.2.3
I hope that helps.
Hi Tom42,
I’m running 2.4.3 and everything is working fine.
The iPhone app is working just fine too, which makes me wonder whether or not I’m looking at the wrong end.
Ok, I seem to have resolved the issue. During configuration on Moodle you have an option to “Authenticate token requests via HTTP headers” via a checkbox. This was not checked.
I have no idea how it became unchecked since I have not touched the setup untill it stopped working, but it took a long time to find the problem, but in the end I created a completely new Moodle installation, and followed the setup instructions ste-by-step, and it worked.
Hi,
I’m just trying to setup Colaborative Folders in Moodle.
Moodle version: 3.9.3+ (Build: 20201113)
ownCloud version: 10.6.0
Just at the end of the process, after authorising the Sistem Account conection, I get the error: error/Could not upgrade oauth token from Moodle.
I’m stuck, can’t find any information to solve this issue.
Thanks a lot.