auth-implementation-patterns
JWT、OAuth2、セッション管理、RBACを含む認証・認可パターンをマスターし、安全でスケーラブルなアクセス制御システムを構築。認証システムの実装、APIの保護、セキュリティ問題のデバッグ時に使用。
Security Assessment
Detected risks:
About auth-implementation-patterns
The auth-implementation-patterns skill provides a comprehensive framework for building secure and scalable authentication and authorization systems. It focuses on industry-standard patterns and best practices, enabling developers to implement robust access control mechanisms for web applications and APIs. By covering both authentication (verifying user identity) and authorization (managing permissions), this skill helps prevent unauthorized access and ensures that users can interact with resources safely. It is particularly useful for projects requiring high security, multi-tenant setups, or integration with social login providers and enterprise SSO systems.
Key features include support for session-based authentication, JWT token-based authentication, and OAuth2/OpenID Connect delegation. The skill demonstrates how to generate and verify JWTs, implement refresh token flows, manage user sessions, and apply role-based access control (RBAC) policies. It also provides guidance for securing REST and GraphQL APIs, integrating social login, and debugging authentication issues. By using these patterns, developers can create flexible, maintainable, and horizontally scalable authentication systems.
This skill is ideal for backend developers, security engineers, and software architects working on web applications, API development, or enterprise platforms. Common use cases include implementing user login systems, protecting APIs, adding OAuth2/social logins, designing session management, migrating authentication systems, troubleshooting auth-related problems, and deploying SSO or multi-tenant access control. It targets anyone who needs to ensure secure user authentication and fine-grained authorization in modern software applications.
FAQ
When should I use this skill?
This skill is best used when implementing user authentication systems, securing APIs, integrating social login, managing sessions, or setting up role-based access control.
Which authentication methods are supported?
It covers session-based authentication, JWT token-based authentication, and OAuth2/OpenID Connect flows for delegated authentication and social login.
Can this skill be used with REST and GraphQL APIs?
Yes, the patterns and examples provided are applicable for securing both REST and GraphQL APIs.
Are there any prerequisites or limitations?
Developers should have basic knowledge of web frameworks like Express.js and familiarity with TypeScript or JavaScript. The skill assumes an environment capable of storing and verifying tokens, such as a database for refresh tokens.
Does this skill support multi-tenant or enterprise SSO setups?
Yes, it provides guidance for implementing SSO and multi-tenant authentication scenarios using industry-standard patterns.
Install auth-implementation-patterns
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
amurata/cc-tools