saas-authorization

Installation
SKILL.md

SaaS authorization: who may do what, and the threats every app has

Operational boundaries

Keep the scope, sandbox, credentials and approval settings supplied by the user or host. Obtain authorization before delegating, exposing project files to another provider, enabling connectors or hooks, using paid services or deploying. Use synthetic or redacted inputs for examples. Keep security reviews static and defensive, with findings and fixes grounded in source inspection.

When to Use

Adding sign-in, a role, a route that touches data, API tokens, a webhook or job, or 'is this secure': who may do what in a multi-tenant SaaS.

Decide who may act on what across every tenant boundary. This skill covers authorization and the threat classes every multi-tenant app has, whatever it does.

Keep the principle and substitute your stack's mechanism. Each principle precedes the Clerk, Supabase or Next mechanism. Apply clerk-production and supabase-production for vendor mechanics in depth.

What binds, in order

Installs
2
GitHub Stars
50.6K
First Seen
2 days ago