Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error/Could not upgrade oauth token #43

Open
Ludovicis opened this issue Feb 27, 2020 · 9 comments
Open

error/Could not upgrade oauth token #43

Ludovicis opened this issue Feb 27, 2020 · 9 comments

Comments

@Ludovicis
Copy link

Hello,

when I connect with a moodle user (using oauth) and when I use collaborative folder; I have the following error message:
error/Could not upgrade oauth token

@Dagefoerde
Copy link
Member

Hi, thanks for the reports. I assume that #42 and #43 are actually caused by the same thing. Have you checked the hints in the Moodle Docs: https://docs.moodle.org/en/OAuth_2_Nextcloud_service#Troubleshooting?

@Ludovicis
Copy link
Author

Hi,

Yes i checked the hints

@fishfree
Copy link

fishfree commented Mar 6, 2021

I have the same problem.

@fishfree
Copy link

fishfree commented Mar 6, 2021

I cannot undderstand this warning:
The system account is unable to connect to Nextcloud, so folders for this activity will not be created. Please inform the administrator about this.
I can select files from the Nextcloud repository, just cannot use this collabortive folder activity.
Maybe some step-by-step configuration documentation will solve the problem.

@NinaHerrmann
Copy link
Contributor

Hey @fishfree ,
Do you have a system account connected with a separate Moodle account? :)

@fishfree
Copy link

fishfree commented Mar 9, 2021

Hi @NinaHerrmann No, for I don't how to create a system account? in Moodle or in Nextcloud? Thank you for your quick reply!

@NinaHerrmann
Copy link
Contributor

Hey @fishfree ,
for connecting a system account please follow the instruction at https://docs.moodle.org/310/en/OAuth_2_services#Connecting_a_system_account.
You need that since there must be a user which creates the folders which are collaboratively shared --> this means all your created folders belong to one account and are shared with the corresponding persons in the course. The System account has to be connected to a user in Moodle who does not use another nextCloud/ownCloud accounts!
Cheers, Nina

@fishfree
Copy link

fishfree commented Mar 22, 2021

@NinaHerrmann Sorry for replying late. I connected Nextcloud with system account now. But it shows new error:
image
image
I can confirm th WebDAV works normally in my nextcloud. Thank you very much!

@ErenIMS
Copy link

ErenIMS commented Sep 5, 2023

I am facing a similar kind of problem for moodle 4.2 I have connected with oauth with open-id. All the things are done. But when the control returns from the open-id app it shows the error mentioned in image. For reviewing error , debugging option is open.
Request someone to help for the same.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants