Skip to content
sickn33 avatar

Auth Implementation Patterns

Secure authentication and authorization guidance covering token, session, and resource-access boundaries for implementation or review.

CCM score
59 of 100
skills.sh installs
418
GitHub stars
50.5K
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers user authentication, REST and GraphQL API security, OAuth2, social login, SSO, session management, RBAC, and auth debugging
  • Guides choosing a session, JWT, or OIDC strategy and designing token lifecycle, authorization model, and policy enforcement points
  • Enforces never logging secrets or tokens, least privilege, and secure key storage, with session regeneration after login in its worked example
  • Designed for developers who must verify tenant and object policy on reads and writes, since JWT validation alone does not establish ownership

Install

$ npx -y skills add sickn33/agentic-awesome-skills --skill auth-implementation-patterns -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Authentication & Authorization Implementation Patterns

Build secure, scalable authentication and authorization systems using industry-standard patterns and modern best practices.

Use this skill when

  • Implementing user authentication systems
  • Securing REST or GraphQL APIs
  • Adding OAuth2/social login or SSO
  • Designing session management or RBAC
  • Debugging authentication or authorization issues

Do not use this skill when

  • You only need UI copy or login page styling
  • The task is infrastructure-only without identity concerns
  • You cannot change auth policies or credential storage

Instructions

  • Define users, tenants, flows, and threat model constraints.
  • Choose auth strategy (session, JWT, OIDC) and token lifecycle.
  • Design authorization model and policy enforcement points.
  • Plan secrets storage, rotation, logging, and audit requirements.
  • If detailed examples are required, open resources/implementation-playbook.md.

Safety

  • Never log secrets, tokens, or credentials.
  • Enforce least privilege and secure storage for keys.

Resources

  • resources/implementation-playbook.md for detailed patterns and examples.

Worked example

Details

Repository
github.com/sickn33/agentic-awesome-skills
Categories
Backend & APIs, Security
First seen
Jun 3, 2026

More from sickn33/agentic-awesome-skills

All 682

Similar to Auth Implementation Patterns

More Backend & APIs