Maintenance in progress: we are indexing a large batch of new skills. Some pages may load slowly or briefly show no results. Nothing is lost, and everything is back to normal within the hour.

OAUTH

OAuth 2.0/OIDC flows, provider integration, and token handling.

majiayu000 6a843e9 2 files · 1.9 KB Updated 567 repo stars

File contents

OAuth Skill

Expert assistance for OAuth 2.0 and OpenID Connect implementation.

Capabilities

  • Implement OAuth flows
  • Integrate providers (Google, GitHub)
  • Handle PKCE
  • Manage tokens
  • Configure OIDC

OAuth Flow

// Authorization Code Flow with PKCE
const codeVerifier = generateCodeVerifier();
const codeChallenge = await generateCodeChallenge(codeVerifier);

const authUrl = new URL('https://provider.com/authorize');
authUrl.searchParams.set('client_id', CLIENT_ID);
authUrl.searchParams.set('redirect_uri', REDIRECT_URI);
authUrl.searchParams.set('response_type', 'code');
authUrl.searchParams.set('scope', 'openid profile email');
authUrl.searchParams.set('code_challenge', codeChallenge);
authUrl.searchParams.set('code_challenge_method', 'S256');

Target Processes

  • oauth-integration
  • social-login
  • sso-implementation

majiayu000/claude-skill-registry-data/tree/main/security/oauth-a5c-ai-babysitter commit 6a843e911d

Frequently asked questions

npx skillmds add majiayu000/oauth-2