Jump to content

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

From Wikitech
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

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

Start a discussion