What OAuth scopes are
OAuth scopes are the permissions an app asks for when you connect it to one of your accounts. The “Allow” screen lists them, and the app gets what you approve there.
OAuth is the standard behind buttons like “Connect with Google”. The version in use today, OAuth 2.0, was published as RFC 6749 in October 2012.
How it works in practice
You click connect, and Google or Microsoft shows the app’s name and what it wants. When you approve, the app receives a token that carries those scopes.
Many apps also ask to keep access while you’re away. Microsoft words this as “Maintain access to data you have given it access to”.
That access lasts until someone removes it, and a new password doesn’t always end it. Google says a password change revokes app tokens only for certain products.
The same mailbox, from narrow to wide
| Gmail scope | Google’s description |
|---|---|
gmail.readonly | View your email messages and settings |
gmail.send | Send email on your behalf |
gmail.modify | Read, compose, and send emails from your Gmail account |
https://mail.google.com/ | Read, compose, send, and permanently delete all your email from Gmail |
Microsoft 365 splits mail in a similar way. Mail.Read reads, Mail.ReadWrite can also change and delete without sending, and Mail.Send sends.
Which scopes to refuse
Refuse any scope wider than the job. These are the common ones:
- Full mail access for a tool that only reads. Google tells developers to request it only when an app must delete mail permanently.
- Send permission for a tool that drafts. A draft can wait in a folder for a person to send.
- All your Drive files when the tool needs only the files you pick. Google’s
drive.filescope covers just those, plus files the app creates. - Organisation-wide access for a tool one person uses. In Microsoft 365, “application” permissions work without anyone signed in and can reach every mailbox. They need an admin’s consent.
Also stop if Google warns that it hasn’t verified the app. Google shows that screen when an unverified app asks for sensitive or restricted scopes.
Common mix-ups
- Signing in and handing over data. “Sign in with Google” can confirm who you are and nothing more. Some apps add data scopes to the same screen, so read it.
- What an app does and what it could do. Scopes set the most an app could do. A tool that only reads today can send tomorrow if it holds the send scope.
- Deleting the app. Removing an app from your phone or browser leaves its access in place. Remove the access at Google or Microsoft as well.
What to ask or check
- Which scopes does the tool request, and which feature needs each one?
- Is there a narrower scope that would do the job?
- Does it act as one person, or across the whole organisation?
- Who in your business can see and remove connected apps? Google Workspace admins find them under API controls, and Microsoft 365 admins under Enterprise apps.
- Can staff approve apps alone? Microsoft recommends allowing that only for apps from verified publishers.
