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

Support fixed URL in config.json

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.7
    • 2.7
    • Log in screen
    • Hide
      1. Run the app without setting a siteurl in config.json. Check that the behavior is exactly as before and you can add any site.
      2. Add a fixed siteurl without browser SSO to the config.json and run the app.
      3. Check that you go directly to the credentials page when:
        • You start the app without sites stored.
        • You delete your last site.
        • You click the "Add" button in sites list.
      4. Check that you can login in that site. If local_mobile is installed, check that it's used by the app.
      5. Now replace the fixed siteurl with a Moodle that uses browser SSO and run the app.
      6. Check that, when going to credentials view, a modal is shown telling that you need to login using browser. Check that you can authenticate using SSO.
      7. Go to add a site again and now click cancel when the app tells you to login via browser. Check that username and password are disabled. Check that clicking "Login" shows the same modal again.
      Show
      Run the app without setting a siteurl in config.json. Check that the behavior is exactly as before and you can add any site. Add a fixed siteurl without browser SSO to the config.json and run the app. Check that you go directly to the credentials page when: You start the app without sites stored. You delete your last site. You click the "Add" button in sites list. Check that you can login in that site. If local_mobile is installed, check that it's used by the app. Now replace the fixed siteurl with a Moodle that uses browser SSO and run the app. Check that, when going to credentials view, a modal is shown telling that you need to login using browser. Check that you can authenticate using SSO. Go to add a site again and now click cancel when the app tells you to login via browser. Check that username and password are disabled. Check that clicking "Login" shows the same modal again.
    • MOODLE_27_STABLE
    • MOODLE_27_STABLE

      Right now custom apps need to modify login/main.js to be able to support fixed URLs. With the changes done in MOBILE-1335 we should be able to support it using config.json.

            dpalou Dani Palou
            dpalou Dani Palou
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.