Obsolete:Setting up Flask cgi app as a tool/OAuth
Appearance
This page is obsolete. For up-to-date information, see: https://wikitech.wikimedia.org/wiki/Help:Toolforge/My_first_Flask_OAuth_tool
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