Skip to main content

Disabling an OAuth app now stops it

Disabling an OAuth app in the admin panel used to hide it only from the consent page: apps that already had tokens kept refreshing them and reading their users' profiles. Disabling now stops the app entirely.

Fixed​

  • A disabled app cannot exchange authorization codes or refresh tokens (401, "error": "invalid_client"), and its access tokens are refused by /oauth/userinfo (401, "error": "invalid_token"). Its tokens are not deleted: enabling the app again lets them work again.

  • Apps can still revoke their own tokens while disabled.

  • A developer can pause and resume their own app, but not resume one an administrator disabled (403, "code": "app_disabled_by_admin"). Editing an app or rotating its secret no longer undoes a disable that happened at the same moment.

  • The admin panel now tells apart an app an administrator disabled from one its developer paused. Disabling a paused app locks it; only an administrator can enable a locked app, and doing so leaves the developer's own pause in place. Clicking disable twice keeps the app disabled. Developers see when an administrator has disabled their app.

  • Apps that were disabled before this release are treated as disabled by an administrator, so their developers cannot switch them back on.

What you need to do (administrators)​

  • Disabling a developer's account does not stop their apps, so people who signed in to them are not cut off. To stop a disabled developer's app as well, disable the app in the OAuth admin panel.