authentication-setup

Installation
Summary

Complete authentication and authorization system with JWT, OAuth, and role-based access control.

  • Covers five core authentication methods: JWT tokens, session management, OAuth 2.0, password hashing (bcrypt/argon2), and multi-factor authentication support
  • Includes step-by-step implementation for user registration, login, token refresh, and logout endpoints with database schema design
  • Provides authentication middleware for protecting API routes and role-based authorization for permission management
  • Supports social login integration (Google, GitHub, Microsoft) and refresh token management with database revocation capabilities
  • Includes security best practices: environment variable management, short-lived access tokens (15 min), long-lived refresh tokens (7 days), and audit logging recommendations
SKILL.md

Authentication Setup

When to use this skill

Lists specific situations where this skill should be triggered:

  • User Login System: When adding user authentication to a new application
  • API Security: When adding an authentication layer to a REST or GraphQL API
  • Permission Management: When role-based access control is needed
  • Authentication Migration: When migrating an existing auth system to JWT or OAuth
  • SSO Integration: When integrating social login with Google, GitHub, Microsoft, etc.

Input Format

The required and optional input information to collect from the user:

Required Information

Related skills

More from supercent-io/skills-template

Installs
10.6K
GitHub Stars
88
First Seen
Jan 24, 2026