Hi everyone,
If you're tired of repetitively prompting your users to approve your tool (using MediaWiki oauth), here's a trick that might come in handy: you can hit ".../w/index.php?title=Special:OAuth/authenticate" in the second leg of the handshake instead of ".../w/index.php?title=Special:OAuth/authorize" which would cause it to simply jump over to the callback URL if the user has approved your tool at least once in the past. This works for authonly or authonlyprivate grants only.
You can read up more about this here: https://www.mediawiki.org/wiki/OAuth/For_Developers#Avoid_repetitive_login_p...
Note that the mwoauth library was recently updated to include this change so you might just want to update it.
Thanks Brad(for writing it), Gergö (for telling Bryan) and Bryan (for telling me).