Closed fishfree closed 7 years ago
Hi fishfree, sorry, I don't know about the CAS authentication, especially in ownCloud. However, the Moodle message "Could not decode JSON token response" hints at a problem with the response that Moodle receives from ownCloud. So I think this is a problem in ownCloud, resulting from particuliarities in ownCloud CAS authentication. I'd suggest you should add an issue about this in their repository: https://github.com/owncloud/oauth2 , I hope they can help you. Please also report back if there's anything we need to do! :)
@Dagefoerde I edited my question, would you pls have a look? Thank you!
Following the instructions, I successfully installed, configured and test this great plugin with Owncloud local user accounts. But for Owncloud CAS users (realized by this plugin), it failed. Steps as below:
Edit: I find that for the first time connecting Owncloud from Moodle, it succeeded, but for the second and later time, it always showed this error.