OAuth2 Scopes
Scopes describe how much access an application asks for. Before a user grants permission, the consent screen lists the requested scopes so the decision is visible. This reference covers the available scopes, what happens when none is supplied, how client-level validation rejects disallowed scopes, and how to combine several scopes in one request.
Available scopes
The table below lists each scope, the integration category that uses it, and the access it describes. Identity scopes (openid, email, profile) are available to any client. The mcp:* scopes belong to MCP integrations, and zapier:webhooks belongs to Zapier.
The complete scope table is delivered as a structured module (table0001) with every original row, cell, and link preserved exactly. Use it as the authoritative list when configuring a client's allowed scopes.
Zapier and the legacy flow
Zapier authenticates through the legacy OAuth2 flow, which remains supported so existing Zapier integrations keep working. New integrations should use the modern flow instead. The legacy hostname is kept as a permanent compatibility mapping; the modern authorization host is the one to target for new work.
MCP scopes and role limits
MCP integrations connect as public clients. Registration happens through Dynamic Client Registration, and a registered client may request the entire mcp:* scope set without registering a second time. Permission is layered: the granted scope is only an upper bound, and the workspace role of the person who consented determines what any individual call may actually perform. Any role may write leave requests (mcp:leaves:write). Managing users (mcp:users:write) or workspace structure (mcp:workspace:write) is limited to location admins and admins.
Two distinct failures can occur, each with its own remedy. When a tool requires a scope the token does not include, the MCP server returns an insufficient_scope challenge and the client prompts the user to consent again. When the authorization request itself names a scope the client is not allowed to hold, the request is rejected earlier with invalid_scope. The first means the token is too narrow for a tool; the second means the client asked for something beyond its allowance.
Default scope
When the authorization request omits the scope parameter, public MCP clients receive the full set of mcp:* scopes plus openid, profile, and email. All other OAuth clients receive only openid. If you need more than the default, name the scopes explicitly.
Scope validation
Each registered OAuth client has a list of allowed scopes. If an authorization request includes a scope outside that list, the request is rejected with an invalid_scope error. The error response is delivered as a structured module (code0001) with the exact JSON body preserved.
Requesting multiple scopes
Separate multiple scopes with a space inside the scope parameter. The plain form is delivered as a structured module (code0002), and the URL-encoded form is delivered as a structured module (code0003). Both preserve the exact parameter strings.
Choosing scopes: a short checklist
Before you send an authorization request, confirm the following:
- The client's allowed-scope list includes every scope you name. A single disallowed scope rejects the whole request with invalid_scope.
- You have named scopes explicitly if the default is not enough. Public MCP clients default to all mcp:* scopes plus openid, profile, and email; other clients default to openid only.
- The workspace role of the consenting user can actually perform the actions the scopes imply. mcp:leaves:write is available to every role, but mcp:users:write and mcp:workspace:write require a location admin or admin.
- You have handled insufficient_scope challenges by re-prompting consent, separately from invalid_scope rejections at the authorization step.
- Multiple scopes are space-separated in the scope parameter, and URL-encoded as %20 when placed in a query string.
| Scope | Used by | Description |
|---|---|---|
| openid | Any | Verify your identity |
| Any | View your email address | |
| profile | Any | View your profile information |
| mcp:workspace:read | MCP | View your workspace's departments, locations, and leave types |
| mcp:users:read | MCP | View your workspace's users, their departments and approvers |
| mcp:leaves:read | MCP | View leave requests and approvals in your workspace |
| mcp:workspace:write | MCP | Manage your workspace's departments, locations, and leave types |
| mcp:users:write | MCP | Manage your workspace's users and labels |
| mcp:leaves:write | MCP | Create, edit, and approve leave requests in your workspace |
| zapier:webhooks | Zapier | Receive notifications about your leave requests |
Rows and descriptions are reproduced exactly from the supplied scope table; the table is a dated reference and current availability should be checked.
Frequently asked questions
What happens if I omit the scope parameter?
Public MCP clients receive the full set of mcp:* scopes plus openid, profile, and email. All other OAuth clients receive only openid. Name scopes explicitly if you need more than the default.
Why was my authorization request rejected with invalid_scope?
The request included a scope that is not in the client's allowed-scope list. Each registered client has its own list, and a single disallowed scope rejects the whole request. Check the client's allowed scopes and remove or replace the offending scope.
How is insufficient_scope different from invalid_scope?
invalid_scope is returned at the authorization step when a requested scope is not allowed for the client. insufficient_scope is returned by the MCP server when a token lacks a scope that a tool needs; the client then asks the user to consent again.
How do I request more than one scope?
Separate scopes with a space in the scope parameter, for example scope=openid email profile. When URL-encoding, use %20 between scopes, for example scope=openid%20email%20profile.
Do scopes override workspace roles?
No. A granted scope is only an upper bound; the user's workspace role caps what a call can do. Any role can use mcp:leaves:write, while mcp:users:write and mcp:workspace:write are limited to location admins and admins.
{
"error": "invalid_scope",
"error_description": "Scope 'zapier:webhooks' is not allowed for this client"
}