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

The scope param should be optional in badges/oauth2callback.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.3
    • Fix Version/s: None
    • Component/s: Badges
    • Affected Branches:
      MOODLE_39_STABLE
    • Sprint:
      Moppies Kanban

      Description

      While testing Moodle OBv2.1 with Badgr and Milestone, we've seen scope shouldn't be mandatory: https://tools.ietf.org/html/rfc6749#section-4.1.2 This is causing issues because most providers won't send this information.

      Besides, analysing badges/backpack-connect.php (where badges/oauth2callback.php request is redirected) scope is optional too so it will be better to make scope optional in order to avoid problems with some backpack providers.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 20 minutes
                  20m