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

OAuth2 endpoint discovery no longer happens on creation of Google services

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Go to Site administration > Server > OAuth 2 services.
      2. Click "Google service" to create a Google service.
      3. Enter an arbitrary value for "Client ID" and "Client Secret" and leave all other fields unchanged; click Save.
      4. For the newly created issuer, check that there is a check mark for "Discovery" and then click "Configure endpoints".
      5. Inspect the list. If there is just a  "discovery_endpoint", this test fails. If there are more, this test passes.
      Show
      Go to Site administration > Server > OAuth 2 services. Click "Google service" to create a Google service. Enter an arbitrary value for "Client ID" and "Client Secret" and leave all other fields unchanged; click Save. For the newly created issuer, check that there is a check mark for "Discovery" and then click "Configure endpoints". Inspect the list. If there is just a  "discovery_endpoint", this test fails. If there are more, this test passes.
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull Master Branch:
      MDL-64078-master

      Description

      Google OAuth2 service supports discovery of the endpoints - and it works. It used to happen when the service was created but no longer does. Now you need to edit and save the OAuth 2 service after creating it (with no changes).

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jan.dagefoerde Jan Dageförde
              Reporter:
              damyon Damyon Wiese
              Peer reviewer:
              Damyon Wiese
              Integrator:
              Jun Pataleta
              Tester:
              Anna Carissa Sadia
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Dec/18

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 10 minutes
                  10m