Page MenuHomePhabricator

Test basic auth and oauth
Closed, InvalidPublic

Description

Testing using multiple authentication layers together will be an interesting integration test. In requests, both basic auth and oauth are supported using requests.get 'auth' parameter, so using them both together may not be simple.

This test may not be automate-able , as it depends on manually setting up a server with both basic auth and oath (as I doubt we'll find one of these on the web that we can use), and then running tests against that server (T58961).

Event Timeline

jayvdb raised the priority of this task from to Needs Triage.
jayvdb updated the task description. (Show Details)
jayvdb added a project: Pywikibot-OAuth.
jayvdb subscribed.
jayvdb claimed this task.

Actually this task is invalid. Refreshing myself on https://www.mediawiki.org/wiki/Extension:OAuth , that implementation is putting the parameters in the http Authorization header, and so is incompatible with being used with normal http basic implemented usually in the web server, e.g. Apache .