It seems I still haven't updated the function that's supposed to provide groups discussion posts from Elgg. It's still using the Elgg 1.8 way that's not compatible with Elgg 1.9.
Did you remove the copied/unattributed plugins Juho? If not definitely go ahead and nuke them.
If you want an oauth server/consumer approach, I made one before. You can find it as part of a set here: https://github.com/deds/sg-moodle-oauth. I have moodle as the server and code for both wordpress and elgg as consumers. I haven't updated these in a while so ymmv. I last tested it on elgg 1.8 I think.
It has a very basic REST services api on the moodle side as well so you can get information such as a user's teachers or a user's students. I leveraged that for Khan Academy integration but maybe not much use for those two in elgg. It's a good starting point and if you can code then you can add services such as enrolling to a course, etc.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.