jaycheng113/skill-retrieval-mcp/oauth-pkce
Claude Code and agent skill by jaycheng113/skill-retrieval-mcp
- community
Checking that the SKILL.md file is still in the repository.
Implement the OAuth 2.0 authorization code flow with PKCE for a client that cannot keep a secret.
Install
npx vskill@latest install jaycheng113/skill-retrieval-mcp/oauth-pkceSKILL.md
Authorization code flow with PKCE
A native app or single-page app ships its source to the user, so it cannot hold a client secret. PKCE replaces the secret with a value proven only at redemption.
Generate a high-entropy code_verifier, then send its SHA-256 hash as code_challenge with code_challenge_method=S256. On redemption, present the verifier itself. An attacker who intercepts the authorization code cannot exchange it without the verifier, which never left the client.
The plain challenge method exists for constrained platforms and gives up the entire protection, since challenge and verifier are then identical. Do not use it.
Validate the state parameter on return. PKCE protects the code exchange; state is what protects against having a session fixated by a forged callback.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtests/e2e/corpus/security/oauth-pkce/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jaycheng113/skill-retrieval-mcp/oauth-pkce)