Moodle mobile and Shibboleth and LDAP authentication

Moodle mobile and Shibboleth and LDAP authentication

von Mari Cruz García -
Anzahl Antworten: 3

Hello,

I have installed Moodle mobile, the official app, in my mobile, and when I try to log in the following Moodle site:

https://www.diabetes.cmdn.dundee.ac.uk using my University account, I get an error message saying that I cannot access.


We use Shibboleth for authentication and works fine in desktop computers. 

I read the information in the Moodle Mobile FAQ, but I cannot understand from the tracker which authentication is supported for Moodle 2.5 and Moodle 2.6.

Another question is:


Is it possible to use Moodle Mobile for a test site in which I am using a self-certificate that I created and manual accounts,.

When I type the url in the ipad:

https://testlz.health.org.kw

there is an error message stating that I should introduce a valid url (I also tried without the https, having the same error).


Thank you very much for your information.


Mari Cruz

Mittelwert:  -
Als Antwort auf Mari Cruz García

Re: Moodle mobile and Shibboleth and LDAP authentication

von Dave Perry -
Nutzerbild von Testers

For the mobile app to work with Shibboleth, the moodle administrator needs to install this plugin:
https://moodle.org/plugins/view.php?plugin=local_mobile

For the URL thing, if you change a moodle site to be pure https (i.e. every page has that in the address) you'll need to change the siteroot value in the config.php file to include it.

 

HTH

Als Antwort auf Dave Perry

Re: Moodle mobile and Shibboleth and LDAP authentication

von Mari Cruz García -

Thanks for the clarification, David.

The site root value in config.php was changed to $CFG->wwwroot   = 'https://testlz.health.org.kw';

I remember having read that the Moodle Mobile app does not like self-certificates, but I cannot find that information in the documentation now.

Als Antwort auf Mari Cruz García

Re: Moodle mobile and Shibboleth and LDAP authentication

von Juan Leyva -
Nutzerbild von Core developers Nutzerbild von Moodle HQ Nutzerbild von Plugin developers Nutzerbild von Testers

Hi Mari Cruz,

for security reasons the app doesn't work with self-signed certificates, you need a trusted one. It's true that is not documented I will add it to the FAQs. 

Cheers, Juan