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

Allow custom callback url for admin/tool/mobile/launch.php

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.5.15, 3.7.9, 3.8.6, 3.9.3, 3.10
    • Fix Version/s: None
    • Component/s: Web Services
    • Labels:
      None
    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_35_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE

      Description

      Currently only the scheme is configurable and nothing else. This is great for mobile apps and desktop applications which can register a handler for their uri-scheme. However this greatly limits the availability/usage of webservices from within a browser context.

      It is not possible to get a token from the moodle instance and therefore also impossible to use webservices from within a browser without cumbersome circumvention of this problem. Alternatives exist: e.g. having the user login on the site, extract a token and return to the website however those have some problems like when no service has yet requested the token etc.

       

      Allowing arbitrary callback urls lifts this restriction while also being backwards compatible.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            septatrix septatrix
            Participants:
            Component watchers:
            Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: