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

OAuth2 configuration reset each time identity issuer settings are saved

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • None
    • 3.7.4, 3.8.1, 3.9
    • Authentication
    • MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • Hide

      Periodically, manually go and check the field mapping list to see if additional fields have disappeared. If they have, you will need to add them back in and add back in any custom endpoints you might have also added.

      I have not fully tested this workaround.

      Show
      Periodically, manually go and check the field mapping list to see if additional fields have disappeared. If they have, you will need to add them back in and add back in any custom endpoints you might have also added. I have not fully tested this workaround.

      I created a new custom identity issuer in Oauth2. To my pleasant surprise, after just completing the settings in the Edit Identity Issuer Gear page, it managed to automatically populate most of the endpoints and field mappings. That is great and a real time-saver.

      However, I needed to add a few extra endpoints and additional field mappings. Saved them. Great! it all worked.

      However, if I go back and edit the identity issuer, the moment I save, it resets all of the settings in the Endpoints and Field Mappings pages. Any custom fields I added just vanish!

      This is new behaviour. In previous instances of Moodle that I installed just last summer (Moodle 3.6 and 3.7), that was not the case. The fields were not populated automatically and the field mappings had to be created manually too.

      So it is great that things are now automatically populated, but once it does that, it should not reset everything each time I save a change (like the Logo URL, or even make no changes and just save).

            Unassigned Unassigned
            michael-milette Michael Milette
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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