How to Audit and Revoke Forgotten OAuth App Permissions in Google, Microsoft, and GitHub Accounts (2027 Guide)

Google’s own account documentation states that third-party apps you granted access to can keep reading your data until you remove them — there is no automatic expiry for most OAuth grants. Here is the practical audit: check each provider’s permissions page, sort grants by last-used date where available, revoke anything you don’t recognize, and re-grant narrowly. The whole process takes under 15 minutes per account and requires no special tools.

How to Audit and Revoke Forgotten OAuth App Permissions in Google, Microsoft, and GitHub Accounts (2027 Guide)
Photo by Pixabay on Pexels

Which OAuth permission page you need for each provider, and what it actually shows you

Each of the three providers exposes a different view of your grants, and the differences matter more than the shared word “permissions.” Google shows connected apps and the scopes each holds; Microsoft splits enterprise consent from personal app access; GitHub shows authorized OAuth Apps and GitHub Apps separately with per-app revocation.

Provider Where to audit What the page reveals Bulk revoke? Last-used date shown?
Google myaccount.google.com → Security → Third-party apps & services (or “Data & privacy” → “Third-party apps & services”) Connected apps, scopes granted, date access was granted No — one app at a time Yes, “Last accessed” appears for many apps
Microsoft account.microsoft.com → Privacy → Apps and services; plus myapps.microsoft.com and entra.microsoft.com for work accounts Personal app access, enterprise consents, and admin-granted permissions No — per app Limited; enterprise view shows consent date, not usage
GitHub github.com/settings/applications (Authorized OAuth Apps) and /settings/installations (GitHub Apps) OAuth Apps with scopes, GitHub Apps with repository-level access, last-used timestamp No — per app; org owners can review org installs Yes, “Last used” per OAuth App

If you only change one setting this year, make it this one: turn on Google’s “Sign in with Google” access review prompt, which the company documents as re-confirming third-party access at sign-in for apps that request sensitive scopes. It is not a full audit, but it forces a decision on apps you’d otherwise never revisit.

How do you audit Google third-party app permissions without missing the risky scopes?

Open the Third-party apps & services page and read the scope list, not the app name. A calendar app requesting https://mail.google.com/ (full Gmail access) is a red flag regardless of how familiar the brand looks — Google’s OAuth scope reference documents that this scope permits reading, composing, and permanently deleting mail.

Work through the list in this order:

  1. Sort by “Last accessed.” Anything with no recorded access in the past 12 months and a sensitive scope (Gmail, Drive, Contacts) is a revoke candidate.
  2. Match scope to purpose. A note-taking app needs Drive file scope for files it creates, not full Drive access. Google documents granular Drive scopes (drive.file versus drive) precisely so you can demand the narrower one.
  3. Check the grant date against your memory. A grant dated to a month you don’t remember signing into anything is worth revoking on principle.
  4. Revoke, then re-grant if needed. Revoking removes the token immediately; the app will prompt for consent again next time you use it, and you can decline the broad scope at that prompt.

Google’s account help documentation also notes that removing an app’s access does not delete data the app already collected — revocation stops future access, not past retrieval. That distinction is why the audit cadence matters more than the cleanup itself.

Why does Microsoft show your OAuth consents in two different places?

Microsoft separates personal Microsoft account app access from organizational (Entra ID) consent, and most users only ever check the first. Personal grants live at account.microsoft.com under Privacy → Apps and services; work or school grants live in Entra ID under Enterprise applications → User consent, or at myapps.microsoft.com for the apps assigned to you.

The enterprise side is where forgotten grants accumulate fastest, because a single admin consent can authorize an app for every user in the tenant without each user seeing a prompt. Microsoft’s Entra documentation describes the admin consent workflow and the permission classifications (delegated versus application permissions) — application permissions run without a signed-in user, which is the category to scrutinize hardest.

  • Personal accounts: revoke per app at account.microsoft.com; the change takes effect on the next token refresh.
  • Work accounts: users can revoke their own consent at myapps.microsoft.com, but tenant-wide application permissions require an admin to remove the enterprise application or its role assignment.
  • Look for Mail.Read, Files.ReadWrite.All, and offline_access together. That combination — read your mail, write all your files, and stay signed in — is the classic over-permissioned grant.

The spec sheet says “consent,” but the measured risk is persistence: an app holding offline_access keeps a refresh token until it is revoked or the token policy expires it. Microsoft’s documentation on configurable token lifetimes is the reference point if you administer a tenant and want a hard ceiling.

How do you tell GitHub OAuth Apps and GitHub Apps apart when revoking access?
Photo by Rafael Minguet Delgado on Pexels

How do you tell GitHub OAuth Apps and GitHub Apps apart when revoking access?

GitHub maintains two separate authorization lists, and revoking one does not touch the other. Authorized OAuth Apps at github.com/settings/applications act on your behalf with the scopes you approved; GitHub Apps at github.com/settings/installations get their own identity and repository-scoped permissions you selected at install time.

GitHub’s documentation is unusually transparent here: the Authorized OAuth Apps page lists each app with its scopes and a “Last used” timestamp. That timestamp is the single most useful field in this entire guide — an OAuth App with repo scope and a last-used date from two years ago is a credential nobody is watching.

Scopes worth flagging on the GitHub OAuth Apps page:
  repo            full control of private repositories
  admin:org       full control of organizations
  delete_repo     delete repositories
  workflow        edit GitHub Actions workflow files
  gist            read/write all gists

For GitHub Apps, check the installation’s repository access list: an app installed “All repositories” that you only ever needed for one project is over-scoped. GitHub lets you change repository access per installation without uninstalling, so narrow it rather than removing it outright if the integration still earns its place.

How often should you re-audit, and what breaks when you revoke too aggressively?

A quarterly review of all three providers is the practical minimum, with an immediate pass after any breach disclosure affecting a service you use. The failure mode to expect is silent breakage: CI pipelines using a GitHub OAuth token, mail-sorting rules built on a Google app, or Power Automate flows tied to a Microsoft consent will stop working the moment the grant is revoked.

Mitigate that by revoking in this order: unused apps first, then over-scoped apps you still need (revoke and re-grant with narrower scopes), then anything with an unknown origin last, after you’ve checked whether a workflow depends on it. Keep a short note of what you revoked and when — the next audit is faster if you know which grants were deliberate.

Verdict: audit Google first, Microsoft’s enterprise side second, GitHub’s last-used column always

Google’s page gives you the clearest scope-to-purpose mismatch signal, so start there. Microsoft’s personal page is quick but incomplete for anyone with a work account — the Entra side is where the real forgotten grants hide. GitHub’s last-used timestamp makes it the easiest of the three to triage in under five minutes. None of the three offers bulk revocation, so budget one pass per quarter and treat “Last accessed” or “Last used” older than 12 months as the default revoke line.

Primary source: CISA Secure Our World.

If this helped, this next one will too: How to Set Up Two-Factor Authentication on All Your Online Accounts.

We covered a related angle here: AI-Powered Cybersecurity Tools You Should Know.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *