Moodle mobile and Shibboleth and LDAP authentication

Moodle mobile and Shibboleth and LDAP authentication

by Mari Cruz García -
Number of replies: 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

Average of ratings: -
In reply to Mari Cruz García

Re: Moodle mobile and Shibboleth and LDAP authentication

by Dave Perry -
Picture of 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

In reply to Dave Perry

Re: Moodle mobile and Shibboleth and LDAP authentication

by 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.

In reply to Mari Cruz García

Re: Moodle mobile and Shibboleth and LDAP authentication

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of 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