auth-expert

Implement JWT, OAuth 2.0, RBAC, and secure password handling for APIs.

Updated Jan 2, 2026
One-click install
npx skills add https://github.com/yuhle-qug/Parking_Management_System --skill auth-expert-yuhle-qug
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auth-expert
Source: https://github.com/yuhle-qug/Parking_Management_System/tree/main/.agent/skills/auth-expert
Command: npx skills add https://github.com/yuhle-qug/Parking_Management_System --skill auth-expert-yuhle-qug

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a comprehensive framework for implementing robust authentication and authorization using JWT, OAuth 2.0, session handling, and RBAC, reducing security risks and boilerplate code.

Core Features & Use Cases

  • JWT-based authentication: issue, verify, and rotate tokens securely with best practices.
  • RBAC & permissions: enforce least-privilege access across APIs and services.
  • Password security: hashing, salting, and credential protection via proven patterns.
  • OAuth 2.0 patterns: integrate with identity providers and multi-client ecosystems.
  • Use Case: securing a multi-tenant API where users have role-based access to resources.

Quick Start

Authenticate a user, issue a signed JWT, and enforce RBAC on a protected API endpoint.

Frequently Asked Questions about auth-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement JWT-based authentication for a web backend API?

JWT-based authentication issues signed tokens upon user login and validates them on protected API endpoints. This Skill handles token issuance, rotation, and verification to secure web backends using best practices.

What is the best way to enforce RBAC and least-privilege access across APIs?

RBAC enforces least-privilege access by checking user roles before allowing API interactions. This Skill implements role checks to ensure users only access permitted resources in multi-tenant ecosystems.

How does OAuth 2.0 integration work with external identity providers?

OAuth 2.0 integration connects your service to external identity providers using standardized authorization flows. This Skill implements these patterns to support multi-client ecosystems and secure delegated access.

How do I securely handle user passwords with hashing and salting?

Secure password handling protects credentials via hashing and salting patterns. This Skill applies proven password security mechanisms to safely manage user credentials during authentication processes.

Can I use this to secure a multi-tenant API where users have role-based access?

Yes, securing multi-tenant APIs with role-based resource access is the primary use case. It combines JWT validation, RBAC enforcement, and OAuth 2.0 patterns to isolate and protect tenant data.

Why do I need token rotation and secure cookie storage for JWTs?

Token rotation and secure cookie storage mitigate credential theft risks by shortening token lifespans and protecting them in transit. This Skill manages these security patterns to reduce API vulnerabilities.