implementing-saaskit
Installation
SKILL.md
Scalekit SaaSKit (Full-Stack Authentication)
Guardrails
- MUST validate the access token server-side (
scalekit.validateAccessToken) before trusting a request; MUST NOT trustidToken/accessTokenclaims without validation. - MUST store
accessTokenandrefreshTokeninHttpOnly,securecookies; MUST NOT persist tokens in localStorage or other client-readable storage. - MUST read
SCALEKIT_CLIENT_ID,SCALEKIT_CLIENT_SECRET, and other credentials from environment variables; MUST NOT hardcode them. - MUST ensure
redirectUriexactly matches an Allowed Redirect URI registered in the Scalekit dashboard.
Setup
Install the SDK for the project language: