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

XML-RPC client fails for username and password authentication in the URL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.2.6, 3.3.3
    • Component/s: Web Services
    • Labels:
    • Testing Instructions:
      Hide
      1. Documentation on enabling web services: https://docs.moodle.org/33/en/Using_web_services
        • Enable web services
        • Enable XML-RPC protocol
        • Enable the "Web services authentication" plugin (site administration > plugins > authentication > manage authentication)
        • Add capability webservice/xmlrpc:use to authenticated user role
        • Create a new WS with necessary functions (see #2) and a token
      2. Use Web services test client to call a WS function using XML-RPC , try both simple and token authentication (Site administration > Development > Web service test client)

      P.S. create_course_category for some reason does not work with parent=0, use parent=1 (fixed in MDL-60091 master-only)

      Show
      Documentation on enabling web services: https://docs.moodle.org/33/en/Using_web_services Enable web services Enable XML-RPC protocol Enable the "Web services authentication" plugin (site administration > plugins > authentication > manage authentication) Add capability webservice/xmlrpc:use to authenticated user role Create a new WS with necessary functions (see #2) and a token Use Web services test client to call a WS function using XML-RPC , try both simple and token authentication (Site administration > Development > Web service test client) P.S. create_course_category for some reason does not work with parent=0, use parent=1 (fixed in MDL-60091 master-only)
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Pull Master Branch:
      wip-MDL-60033-master

      Description

      Easy to reproduce with the built-in test client, if you select simple XML-RPC authentication it fails saying "password is not provided"

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Nov/17