auth-implementation-patterns
CommunityBuild secure, scalable authentication & authorization.
Software Engineering#authorization#security#authentication#access control#RBAC#session management#JWT#OAuth2
Authoryusoofsh
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides proven patterns for implementing secure and scalable authentication and authorization, helping you protect user data and control access effectively across your applications.
Core Features & Use Cases
- JWT & Refresh Tokens: Implement stateless authentication with short-lived access tokens and secure refresh token flows.
- Session Management: Design traditional session-based authentication with secure cookie practices.
- OAuth2/Social Login: Integrate third-party authentication providers like Google or GitHub.
- RBAC & Permissions: Implement role-based and permission-based access control, including resource ownership.
- Use Case: Secure a new web application with user registration, login, social sign-in, and ensure only authorized users can access specific features or data.
Quick Start
Use the auth-implementation-patterns skill to generate TypeScript code for generating and verifying JWTs, including a basic Express middleware for authentication.
Dependency Matrix
Required Modules
jsonwebtokenexpress-sessionconnect-redisredispassportpassport-google-oauth20passport-github2bcryptzodexpress-rate-limit
Components
scriptsreferencesassets
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: auth-implementation-patterns Download link: https://github.com/yusoofsh/dotfiles/archive/main.zip#auth-implementation-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.