Administrators can revoke a developer
An administrator can now revoke an approved developer from the OAuth admin panel. This stops a developer whose app was disabled from simply creating a new one.
Added
- Revoke (
POST /api/v1/admin/oauth/developers/:id/revoke,{"reason"}): only for approved developers. All of their apps are disabled as by an administrator, so their tokens and/oauth/userinfostop working. The developer can no longer create apps or re-apply on their own (403,"code": "developer_revoked"). They can still see and delete their existing apps, and the reason is shown to them. - Restore (
POST /api/v1/admin/oauth/developers/:id/restore): gives the developer their standing back. Their apps stay disabled until an administrator enables each one. - When two accounts are merged, a revoked standing is kept over an approved one, and every app of the merged account is disabled.
- An administrator cannot enable an app while its developer is revoked (
409,"code": "developer_revoked"); restore the developer first. Creating an app at the same moment as a revoke no longer leaves it running.