Download
Download the skill
flexslot-oauth-integration.skill — a single installable file for Claude Code.Install
Add it to Claude Code
Move the file into your Claude Code skills directory:Claude Code discovers
.skill files in ~/.claude/skills/ automatically. Restart Claude Code if it’s already running.Use it
Once installed, prompt Claude Code in plain language. It pulls in the skill when your request matches. Examples:state/iss callback checks, the token exchange, refresh-token rotation, scope selection, and the game-scoped API calls. It covers TypeScript/Node, Python, browser SPA, and curl.
The skill is self-contained — it teaches Claude the flow and contracts, but it doesn’t ship your credentials. You’ll still register a client (Public or Confidential) from Account → API access and supply your own
client_id / client_secret. See Managing OAuth Clients and the Quickstart.What it covers
- Authorization-code grant with PKCE (S256) — the only user-facing grant
- Token exchange, proactive refresh, and refresh-token rotation handling
- Scope selection and incremental authorization
- The game-scoped resource API (
/api/public/v1/games/{game}/...) - DPoP sender-constrained tokens (RFC 9449)
- Token introspection and revocation
- The full error catalog and a debugging checklist