Page MenuHomePhabricator

requests http basic authentication
Closed, ResolvedPublic

Description

user_config.authenticate was a Pywikibot-compat feature, recently re-implemented in core T89417. With the switch to requests, this has been unimplemented again.

The fallback is to use netrc to specify the basic auth credentials instead of user_config.
http://docs.python-requests.org/en/latest/user/authentication/#netrc-authentication
I am not sure if/how that works on Windows.

Event Timeline

jayvdb raised the priority of this task from to Low.
jayvdb updated the task description. (Show Details)
jayvdb added projects: Pywikibot, Pywikibot-OAuth.
jayvdb subscribed.
Restricted Application added subscribers: Aklapper, Unknown Object (MLST). · View Herald TranscriptJun 5 2015, 8:31 AM
jayvdb set Security to None.
jayvdb renamed this task from requests http digest authentication to requests http basic authentication.Jun 5 2015, 12:07 PM

Change 220131 had a related patch set uploaded (by VcamX):
Reimplement Http basic authentication

https://gerrit.wikimedia.org/r/220131

Change 220131 merged by jenkins-bot:
Reimplement Http basic authentication

https://gerrit.wikimedia.org/r/220131