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

From Wikitech
Jump to navigation Jump to search

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).