Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-29805

token.php does not return the token sometimes

XMLWordPrintable

      Some people report that token.php throws the following error message:
      Unsupported redirect detected, script execution terminated
      http://moodle.org/mod/forum/discuss.php?d=185535#p819426
      http://moodle.org/mod/forum/discuss.php?d=185535#p812332

      I'm not sure where this redirection happens:
      http://moodle.org/mod/forum/discuss.php?d=185535#p814206

      When I try to acces to my moodle site form the iPhone official application i get this error message:

      Please check your login detail or ask your site administrator to check moodle configuration.

      Mobile web services are enablen in my site, and user autentication method is set to manual as you said.

      When I try to access to token.php (with the correct params, of course) using chorme, the token is shown in the response:

      "token":"6d056544345..."

      But doing the same with firefox... a window to download token.php appear!! I'm using the latest version of moodle form mac, downloaded today and I'm not using https.

      Taking a look to the generated traffic (usign wireskark) when I try to login using the official mobile web app I noticed the next error:

      Unsupported redirect detected, script execution terminated

            jerome Jérôme Mouneyrac
            jerome Jérôme Mouneyrac
            Rossiani Wijaya Rossiani Wijaya
            Sam Hemelryk Sam Hemelryk
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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