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

OAuth 2: It's unclear when a user needs to re-link a system account to establish the required scopes.

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.3.2, 3.4
    • None
    • MOODLE_33_STABLE, MOODLE_34_STABLE

    Description

      1. Create a Google OAuth 2 service and link a system account
      2. Now, go to Document converter settings and edit the Google Drive converter
      3. Link it to the Google service you just created.
      4. Now, hit the test page (in the Google Drive converter settings page)
      5. Notice that you're informed the system account it not linked. 
      6. Now, go back to the OAuth 2 settings page and see the prior linked system account appears to have disappeared.

      This happens because the scopes required vs granted have changed when the converter plugin is set to use the Google OAuth service. We need the system account to be re-linked in such cases, in order to request the new scopes.

      This may be confusing to a novice, so we should try to make it clearer, and point them in the right direction where possible.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jaked Jake Dallimore
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: