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

Login golden path is generating error logs in server

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.9.0
    • None
    • Authentication
    • MOODLE_39_STABLE

    Description

      In the current implementation, the strategy we are using to detect if a site exists is calling moodle's /login/token.php url without any arguments and making sure that we get the "correct" error message.

      The problem with this approach is that an error log will be generated in the moodle site, and we're polluting the error log as part of the golden path.

      This may be the only approach for older moodle sites, but in newer versions we could be reading the site's public info or even create specific endpoints for this. So this strategy could be left as fallback when nothing else is available.

      Attachments

        Activity

          People

            Unassigned Unassigned
            noeldemartin Noel De Martin
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: