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

    • Type: Improvement
    • Status: Waiting for testing
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.5
    • Fix Version/s: None
    • Component/s: Authentication
    • Labels:
    • Testing Instructions:
      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 2.8 site or older. Check that you see an error saying that the AJAX endpoint wasn't found.
      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 2.8 site or older. Check that you see an error saying that the AJAX endpoint wasn't found.
    • Affected Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:
    • Sprint:
      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

              Assignee:
              dpalou Dani Palou
              Reporter:
              dpalou Dani Palou
              Peer reviewer:
              Pau Ferrer Pau Ferrer
              Integrator:
              Pau Ferrer Pau Ferrer
              Tester:
              Isabel Renedo Rouco Isabel Renedo Rouco
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: