Problem is that, right now we have four OAuth libs:
- lib/oauthlib.php, already used by some repository plugins.
- mod/basiclti, the oauth impl. used by the "old" module.
- mod/imslti, used by the "new" module (copy of the previous).
- PECL's Oauth extension, with its own API and potentially also causing some conflicts.
We need one unique, and well defined Oauth core API (surely a wrapper over PECL's and ims-dev ones) to be used everywhere. Fully tested.
Until then we are using some namespaces (see
MDL-20534) for the IMS-LTI module as workaround. Once implemented, all uses above will be revisited.