PAWS (Pywikibot: A Web Shell) allows users to run Pywikibot (and other python code) online via a Jupyterhub instance, at https://tools.wmflabs.org/paws. OAuth integration allows people to edit / run automated processes without having to expose their passwords.
This will make the consumer_secret and consumer_id public, until https://phabricator.wikimedia.org/T120469 is fixed. I have talked to Chris Steipp about this and it is ok for the short term.
Owner-only
No
Applicable project
All projects
OAuth "callback URL"
https://tools.wmflabs.org/paws/hub/oauth_callback
Allow consumer to specify a callback in requests and use "callback" URL above as a required prefix.
No
Applicable grants
Perform high volume activity
High-volume (bot) access
Interact with pages
Edit existing pages ; Edit protected pages (risk rating: vandalism); Create, edit, and move pages ; Patrol changes to pages
Customization and preferences
Edit your user CSS/JSON/JavaScript (risk rating: security)
Perform administrative actions
Edit the MediaWiki namespace and sitewide/user JSON (risk rating: vandalism); Rollback changes to pages ; Delete pages, revisions, and log entries (risk rating: vandalism); Protect and unprotect pages (risk rating: vandalism)
Interact with media
Upload new files ; Upload, replace, and move files