admin:identity
Verb: admin
Resource: identity
Use
import { SCOPES, requireScope } from "@platform/scopes";
app.use("/v1/identity/*", requireScope(SCOPES.ADMIN_IDENTITY));Granted via
This scope is granted to a token through one of:
- The user explicitly approved it on the consent screen when an app requested it
- The user has an admin role that includes it (M2M client_credentials, admin staff)
- A higher-privilege scope (
manage:identityoradmin:*) satisfies it