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

Removing OAuth2 service does not remove linked accounts

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.3
    • 3.3
    • Authentication
    • None
    • MOODLE_33_STABLE
    • MOODLE_33_STABLE
    • MDL-58898-master
    • Hide
      1. Setup OAuth2 service with login enabled
      2. Login to an account
      3. Go to preferences
      4. Go to linked logins
      5. Link an oauth account
      6. Delete the OAuth2 service
      7. View the Linked logins page for the user you were linking
      8. Nothing should be shown - the table should be empty
      Show
      Setup OAuth2 service with login enabled Login to an account Go to preferences Go to linked logins Link an oauth account Delete the OAuth2 service View the Linked logins page for the user you were linking Nothing should be shown - the table should be empty

    Description

      1. Setup OAuth2 service with login enabled
      2. View the login page and start the process to link an account - no need to confirm the e-mail
      3. Delete the OAuth2 service
      4. View the Linked logins page for the user you were linking
      Expected

      Nothing shown - the list should be present, but empty.

      Actual

      Stacktrace + boom because the table tries to fetch the details for the Persistent relating to that issuer

      Attachments

        Issue Links

          Activity

            People

              johno John Okely
              dobedobedoh Andrew Lyons
              Damyon Wiese Damyon Wiese
              Andrew Lyons Andrew Lyons
              Andrew Lyons Andrew Lyons
              Jake Dallimore, Mathew May, Mihail Geshoski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/May/17