oauth2-authentication — Claude Code skill: how to install
Guides your assistant through configuring OAuth2 and OpenID Connect flows. Helps secure API endpoints, configure PKCE for public clients, and manage access tokens.
npx skills add manutej/luxor-claude-marketplace --skill oauth2-authentication -a claude-codeWhat oauth2-authentication does
The skill provides step-by-step guidance on standard authorization patterns. It covers Authorization Code with PKCE for single-page and mobile apps, traditional server-side flows with client secrets, and Client Credentials for headless service-to-service communication. It also details the device authorization flow intended for CLI tools and connected displays.
Legacy patterns receive direct warnings: Implicit Flow and Resource Owner Password Credentials are flagged as security hazards. Public applications unable to safeguard a client secret must use PKCE, because skipping code verifier validation leaves auth code interception attacks wide open.
What it helps with
- configure Authorization Code with PKCE for single-page applications
- implement machine-to-machine auth via Client Credentials
- structure OAuth2 permission scopes for API endpoints
- replace insecure Implicit Flow patterns with code exchange flows
Example prompts for the agent
- Implement PKCE authorization code exchange for our mobile client
- Set up a machine-to-machine Client Credentials flow between backend services
- Define OAuth2 scopes and validate incoming access tokens on our API
How to install oauth2-authentication
1Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill oauth2-authentication -a claude-code2Manually: put the files in place
~/.claude/skills/oauth2-authentication/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/oauth2-authentication/
1Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill oauth2-authentication -a codex2Manually: put the files in place
.agents/skills/oauth2-authentication/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill oauth2-authentication -a cursor2Manually: put the files in place
.cursor/skills/oauth2-authentication/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install manutej/luxor-claude-marketplace oauth2-authentication2Manually: put the files in place
.github/skills/oauth2-authentication/SKILL.md1Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill oauth2-authentication -a gemini-cli2Platform CLI
gemini skills install https://github.com/manutej/luxor-claude-marketplace --path plugins/luxor-backend-toolkit/skills/oauth2-authenticationManually: put the files in place
.devin/skills/oauth2-authentication/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill oauth2-authentication -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about oauth2-authentication
How to install oauth2-authentication in Claude Code?
Run npx skills add manutej/luxor-claude-marketplace --skill oauth2-authentication -a claude-code.
What flows does oauth2-authentication cover?
It details Authorization Code, PKCE, Client Credentials, and Device Flow, while outlining security flaws in deprecated options like Implicit and ROPC.
Why does the skill discourage Resource Owner Password Credentials?
The flow forces clients to handle plain user credentials directly and lacks multi-factor authentication support. The guide recommends Authorization Code with PKCE instead.