REST API OAUTH Scopes

Design REST API resources and their OAuth2 scopes with consistent, enforceable conventions. Use when adding/editing a resource, path, or operation in any OpenAPI-described REST API guarded by OAuth2 scopes; naming a scope; deciding which scopes guard an endpoint; adding a sub-resource; choosing CRUD vs a custom verb; or mapping IDP roles to scopes. Provider-agnostic design rules — bind them to a specific codebase by choosing a scope prefix and an enforcement mechanism.

wso2 fc5d82c 12.0 KB Updated

File contents

wso2/api-platform/tree/main/.agents/skills/rest-api-oauth-scopes commit fc5d82cd2a

Frequently asked questions

npx skillmds@latest add wso2/rest-api-oauth-scopes