Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3860

Remove calls to login/token.php just to check if site exists

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9.5
    • 4.0.0
    • Authentication
    • Hide

      This issue should be tested both in Android and iOS.

      1. Install the app and try to access a site using https (valid certificate). Check that everything is ok.
      2. Try to access a site using http. Check that everything is ok.
      3. In a site as admin, disable WebServices (e.g. in Site administration > Mobile app > Mobile settings > enablemobilewebservice).
      4. Try to access the site you just disabled. Check that you see an error saying that WebServices are disabled.
      5. Try to access a 3.0 site. Check that you see an error saying that the app only supports 3.5 sites or newer.
      Show
      This issue should be tested both in Android and iOS. Install the app and try to access a site using https (valid certificate). Check that everything is ok. Try to access a site using http. Check that everything is ok. In a site as admin, disable WebServices (e.g. in Site administration > Mobile app > Mobile settings > enablemobilewebservice). Try to access the site you just disabled. Check that you see an error saying that WebServices are disabled. Try to access a 3.0 site. Check that you see an error saying that the app only supports 3.5 sites or newer.
    • MOODLE_39_STABLE
    • MOODLE_400_STABLE
    • Moodle App 4.0

    Description

      We can probably call the AJAX endpoint to get public config instead of using login/token.php.

      Attachments

        Issue Links

          Activity

            People

              dpalou Dani Palou
              dpalou Dani Palou
              Pau Ferrer Pau Ferrer
              Pau Ferrer Pau Ferrer
              Isabel Renedo Rouco Isabel Renedo Rouco
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                22/Apr/22