authentication-patterns
仓库创建 2025年6月22日最近提交 1 天前SkillHot 收录 20 天前
▸ 精选理由
帮助团队选型与审查认证实现,实用且全面
这个 Skill 做什么
对比会话/JWT/OAuth 等认证模式并提供安全检查清单与常见误区。
帮你搞清楚用会话、JWT 还是 OAuth 更合适,顺便对比 NextAuth、Clerk、Supabase Auth 这种常见提供方。会在实现认证、审查登录流程或迁移认证策略时用到,能避免常见坑。特点是既给决策依据又提供可执行的安全检查清单,让上线前少出安全问题。
▸ 展开 SKILL.md 英文原文
Authentication patterns: session vs JWT vs OAuth comparison, provider selection (NextAuth, Clerk, Supabase Auth), security checklist, and common mistakes. Use when implementing auth, reviewing auth flows, or choosing auth providers.
4.4k
Stars
448
Forks
40
仓库内 Skill
+70
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/zebbern/claude-code-guide/main/skills/authentication-patterns/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/zebbern/claude-code-guide/main/skills/authentication-patterns/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Authentication Patterns Skill Reference for implementing secure, production-ready authentication. ## WHEN_TO_USE Apply this skill when implementing authentication in a project, reviewing existing auth flows for security issues, choosing between auth providers, or migrating between auth strategies. Use the security checklist before shipping any auth-related change. ## AUTH_APPROACHES | Approach | How It Works | Best For | Drawbacks | |----------|-------------|----------|-----------| | Session-based | Server stores session in DB/Redis, client holds session ID cookie | Traditional server-rendered apps, apps needing instant revocation | Requires server-side storage, harder to scale horizo
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有