Skip to main content
skill CX Codex

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.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add manutej/luxor-claude-marketplace --skill oauth2-authentication -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/oauth2-authentication/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/oauth2-authentication/

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.

Similar skills

All skills for Security →

From the same set65

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor