You are browsing a read-only backup copy of Wikitech. The live site can be found at

Difference between revisions of "Obsolete talk:Setting up Flask cgi app as a tool/OAuth"

From Wikitech-static
Jump to navigation Jump to search
(No difference)

Latest revision as of 00:21, 16 January 2020

Thank you so much for putting this together. Reading it very carefully has allowed me to setup wikimetrics with OAuth as well (wikimetrics uses flask-oauth). Especially important to pay attention to were:

  • the notes about the different versions of httplib2
  • the fact that Special:OAuth/authorize should be used as in /wiki/Special:OAuth/authorize whereas Special:OAuth/initiate should be used as in /w/index.php?title=Special:OAuth/initiate
  • all the hacks to Flask-OAuth are still necessary as of this posting (and saved me a lot of time).