Obsolete:Setting up Flask cgi app as a tool/OAuth

From Wikitech
Jump to navigation Jump to search

Use flask-mwoauth, from https://github.com/valhallasw/flask-mwoauth

NOTE: DO NOT install httplib2 from pip (e.g. when using a virtualenv), as it does not have the root certificates required for connecting to WMF wikis! Use the system httplib2, or use https://github.com/wikimedia/pywikibot-externals-httplib2