Login golden path is generating error logs in server

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.

Testing Instructions

None

Workaround

None

Activity

Details

Assignee

Reporter

Labels

Components

Affects versions

Priority

Clockify

Created 27 April 2020 at 10:56
Updated 24 October 2023 at 14:34