OAuth Permission Explorer
What an OAuth consent request really allows: scopes, risky combinations and flow problems.
How it works
Paste OAuth scopes or a full authorization URL for Google, GitHub, Microsoft Graph, Slack or generic OpenID Connect. Every scope is explained from the provider's official documentation with a sensitivity rating; risky combinations (read + send mail, offline access to files, push code + delete repositories, CI workflow edits) and unsafe request settings (implicit flow, missing PKCE or state, plain-HTTP redirect) are flagged. Unknown scopes are listed, never guessed.
- Input is split on spaces/commas; a full URL is parsed for scope, user_scope (Slack), client_id, redirect_uri, response_type, prompt, access_type, code_challenge(_method), state and nonce.
- Provider = your choice, else the authorization host (accounts.google.com, github.com, login.microsoftonline.com, slack.com), else the provider most scopes uniquely belong to. Microsoft Graph scopes match with or without the https://graph.microsoft.com/ prefix, case-insensitively.
- Scope descriptions come from a curated dataset copied from each provider's official scope reference (URL per scope). Only scopes found on those pages are included; anything else is reported as unknown.
- Sensitivity (low/medium/high/critical) is an editorial rating of what a leaked token could do; Google's own Non-sensitive/Sensitive/Restricted class and Microsoft's admin-consent flag are shown where documented.
- Risky combinations are rules over capabilities (e.g. mail.read + mail.send, repo.write + repo.delete, offline + files.read). Flow checks follow RFC 9700 (OAuth 2.0 Security BCP) and RFC 7636 (PKCE).
Use this tool in an app
These free programs for your browser have this tool built in, next to everything else the task needs.
-
Provenance Software supply-chain security desk
SBOMs, CVEs, containers and licences in one risk register — free.
Related tools
- Security Configuration Scanner – Passive, graded check of a domain's TLS, security headers, DNS security and security.txt.
- Dependency Vulnerability Explorer – Known vulnerabilities in your dependencies, and the version that fixes each one.
How to use the OAuth Permission Explorer
Decode the scopes in an OAuth consent link for Google, GitHub, Microsoft, Slack or OIDC, and spot dangerous combinations before you click Allow.
What it is for
"This app wants to access your Google Account" screens are easy to click through. The scope strings behind them say what you are actually granting. This tool helps two kinds of people. If you are about to approve an app, it shows what the app could do with your account. If you are a developer, it checks that your app isn't asking for more than it needs.
Paste a list of scopes or the whole authorization URL. Each scope is explained using the provider's own documentation and gets a sensitivity rating. The tool flags combinations that are worse together than apart, like reading and sending mail. With a full URL it also checks the request itself: implicit flow, missing PKCE or state, and plain-HTTP redirects.
It cannot see what the app does with the access. It also doesn't verify who runs the client_id. Scopes it doesn't recognise are listed as unknown and never guessed.
Worked example
Take this Google consent link:
https://accounts.google.com/o/oauth2/v2/auth?client_id=123.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Fapp.example%2Fcb&response_type=code&access_type=offline&prompt=consent&scope=openid%20email%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fgmail.readonly%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fgmail.send&state=xyz
The tool detected Google from the host and returned overall risk: critical:
openidandemail: lowgmail.readonly: high, Google class Restricted ("View your email messages and settings")gmail.send: high, Google class Sensitive ("Send email on your behalf")
It flagged three risky combinations. The worst is Read and send e-mail (critical). An app with both scopes can request a password reset for your other accounts, read the reset mail and act on it. The other two are offline mailbox access and offline sending. access_type=offline gives the app a refresh token, so it keeps both powers while you are away.
Flow notes: there is no code_challenge (PKCE). That is mandatory for public clients and recommended for everyone else. state is present, which is good.
How to read the result
- Overall risk — the worst finding across scopes, combinations and flow checks. The combinations often push it higher than any single scope.
- Scopes table — description, editorial sensitivity, and, where documented, Google's Non-sensitive/Sensitive/Restricted class or Microsoft's admin-consent flag. Each row links to the provider page it was taken from.
- Risky combinations — each has a "why" explaining the attack it enables. Read these first.
- Flow notes — about the request rather than the permissions. High-severity notes, like the implicit flow (
response_type=token) or anhttp://redirect, mean the token itself may leak.
Tips and common mistakes
- Paste the full URL, not just the scopes. Offline access, PKCE and redirect problems only show up in the URL.
- Check the
redirect_urihost. Tokens go there, and it should belong to the app you think you are authorising. - On GitHub,
repoalready covers private repositories completely. Addingworkflowlets a token run code in CI where your secrets live. - In Microsoft Graph,
.Allscopes (likeFiles.ReadWrite.All) reach everything the user can access, not just the user's own files. - Unknown scopes are a reason to ask the vendor, not proof of bad intent. They may be new or product-specific.
FAQ
Is a "critical" rating a reason to refuse?
Not always. A mail client legitimately needs to read and send. It means you should trust the operator as much as you would trust someone holding your password for that service.
How do I take back access I already granted?
Revoke it in the provider's account settings, under third-party or connected apps. Revoking also invalidates the refresh token, which ends offline access.
Why is PKCE flagged for a server-side app?
RFC 9700 (the OAuth 2.0 Security Best Current Practice) requires PKCE for public clients and recommends it for confidential ones, so a missing PKCE is reported as medium rather than high.
Which providers are covered?
Google, GitHub OAuth apps, Microsoft Graph / Entra ID, Slack, and standard OpenID Connect scopes. Pick one manually if auto-detection guesses wrong.
Guide last updated:
For scripts and AI agents
- JSON API:
POST https://oauthpermissionexplorer.usefulweb.site/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://oauthpermissionexplorer.usefulweb.site/mcp· tool nameoauth_permission_explorer
Example request
curl -s -X POST https://oauthpermissionexplorer.usefulweb.site/api/v1/calculate \
-H 'content-type: application/json' \
-d '{"request":"https://accounts.google.com/o/oauth2/v2/auth?client_id=123.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Fapp.example%2Fcb&response_type=code&access_type=offline&prompt=consent&scope=openid%20email%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fgmail.readonly%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fgmail.send&state=xyz","provider":"auto"}'