Community코딩 & 개발github.com

인증 및 권한 부여 구현 패턴

JWT, OAuth2, 세션 관리 및 RBAC를 포함한 인증 및 권한 부여 패턴을 마스터하여 안전하고 확장 가능한 액세스 제어 시스템을 구축합니다. 인증 시스템 구현, API 보안, 또는 보안 문제 디버깅 시 사용하세요.

인증 및 권한 부여 구현 패턴란 무엇인가요?

이 스킬은 개발자가 REST 또는 GraphQL API를 위한 안전한 인증 및 권한 부여 시스템을 설계하고 구현하는 데 도움을 줍니다. JWT, OAuth2, OIDC, 세션 관리 및 RBAC(역할 기반 액세스 제어)와 같은 업계 표준 패턴과 모범 사례를 다룹니다. 주요 사용 사례로는 사용자 인증 시스템 구현, OAuth2/소셜 로그인 또는 SSO 추가, 세션 관리 설계, 권한 부여 모델 구축, 인증 관련 문제 디버깅 등이 있습니다. 이 스킬은 사용자, 테넌트, 흐름 및 위협 모델을 정의하는 것부터 시작하여 인증 전략, 토큰 수명 주기, 권한 부여 모델, 정책 시행 지점, 비밀 저장소, 로깅 및 감사 요구 사항을 단계별로 안내합니다. 주요 안전 지침으로는 비밀, 토큰 또는 자격 증명을 절대 로깅하지 않고, 최소 권한 원칙을 적용하며, 키를 안전하게 저장하는 것이 포함됩니다. 자세한 예제는 `resources/implementation-playbook.md` 리소스 파일을 참조합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Anmolop97/Agent-Skills/tree/HEAD/skills/auth-implementation-patterns

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

인증 및 권한 부여 구현 패턴은(는) 무엇을 하나요?

업계 표준 패턴과 현대적인 모범 사례를 사용하여 안전하고 확장 가능한 인증 및 권한 부여 시스템을 구축합니다.

이 스킬을 사용할 때

  • 사용자 인증 시스템 구현
  • REST 또는 GraphQL API 보안
  • OAuth2/소셜 로그인 또는 SSO 추가
  • 세션 관리 또는 RBAC 설계
  • 인증 또는 권한 부여 문제 디버깅

이 스킬을 사용하지 말아야 할 때

  • UI 복사본이나 로그인 페이지 스타일링만 필요한 경우
  • 작업이 ID 관련 사항 없이 인프라 전용인 경우
  • 인증 정책이나 자격 증명 저장소를 변경할 수 없는 경우

지침

  • 사용자, 테넌트, 흐름 및 위협 모델 제약 조건을 정의합니다.
  • 인증 전략(세션, JWT, OIDC) 및 토큰 수명 주기를 선택합니다.
  • 권한 부여 모델 및 정책 시행 지점을 설계합니다.
  • 비밀 저장소, 로테이션, 로깅 및 감사 요구 사항을 계획합니다.
  • 자세한 예제가 필요한 경우 resources/implementation-playbook.md를 엽니다.

안전

  • 비밀, 토큰 또는 자격 증명을 절대 로깅하지 마십시오.
  • 최소 권한을 적용하고 키를 안전하게 저장하십시오.

리소스

  • resources/implementation-playbook.md: 자세한 패턴 및 예제

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

Anmolop97/Agent-Skills

Searches, installs, updates, and lists skills from the Antigravity Skill Vault. Use when choosing or managing workspace or global skills through the npm CLI.

Anmolop97/Agent-Skills

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.

Anmolop97/Agent-Skills

Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIR...

Anmolop97/Agent-Skills

Searches, installs, updates, and lists skills from the Antigravity Skill Vault. Use when choosing or managing workspace or global skills through the npm CLI.

관련 스킬