We've run into a problem related to the Shibboleth authentication for the Moodle Mobile application (in reality, we're building a custom Moodle Mobile app but for the purpose of this discussion it shouldn't be relevant).
The Moodle site is configured to use the Shibboleth authentication for its students. Following the instructions here: https://docs.moodle.org/28/en/Moodle_Mobile_additional_features we downloaded the "Moodle Mobile additional features" plugin and installed it accordingly to the above instruction. The installtion "was successful" and we made sure that the option "autologinguests" is disabled.
Now, when we try to add the site to the list of Moodle sites in the Mobile app, we're not redirected to the Shibboleth IdP site and the mobile app console shows the following:
[Log] April 28, 2015 at 5:25:40 PM GMT+2 Core: Checking remote site (console-via-logger.js, line 173)
[Log] April 28, 2015 at 5:25:41 PM GMT+2 Core: Checking site: local_mobile plugin installed (console-via-logger.js, line 173)
[Log] April 28, 2015 at 5:25:41 PM GMT+2 Core: Checking site: Error returned: 3 (console-via-logger.js, line 173)
Indeed a call to check.php on our test Moodle site returns: {"error":1,"code":3}
I've verified in the check.php file from the additional features plugin and the mm.js from the Moodle Mobile app, that the error with code 3 relates to the "extended services not enabled, but the official is enabled."
Could somebody point us to the root of the problem and how to fix it? Many thanks in advance.
Cheers,
-rafal