auth-implementation-patterns

Community

Build secure, scalable authentication & authorization.

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.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.