Core Platform Team/Initiative/OAuth2/Epics, User Stories, and Requirements


 * Epic 1 - Add OAuth2 support to MediaWiki for use by web-based clients (authorization endpoint)
 * Implement OAuth 2.0 configuration variables in MediaWiki
 * Implement authorization workflow for Discourse
 * Test with Wikimedia-hosted Discourse instance
 * Security review of OAuth 2.0 code
 * Non-functional requirements:
 * OAuth 1.0 and OAuth 2.0 must be able to coexist in the codebase
 * OAuth 2.0 scopes must be defined (id, read, write, admin, ...)
 * Epic 2 - Add OAuth2 support to MediaWiki for use by API-based clients (token endpoint)
 * Implement internal classes for using OAuth 2.0 tokens in API calls
 * Add OAuth 2.0 as an optional authorization method for one first API (REST API, probably)
 * Add OAuth 2.0 as an optional authz method for Action API
 * Add OAuth 2.0 as an optional authz method for RESTBase
 * Interface for requesting, managing, and deleting API keys
 * Interface for users to list and delete tokens
 * Clear all OAuth 2.0 tokens when password changes
 * Clear all OAuth 2.0 tokens on request
 * Security review